diff options
Diffstat (limited to 'mcs/ilasm')
-rw-r--r-- | mcs/ilasm/codegen/ChangeLog | 6 | ||||
-rw-r--r-- | mcs/ilasm/codegen/DebuggingInfo.cs | 5 | ||||
-rw-r--r-- | mcs/ilasm/codegen/MethodDef.cs | 1 |
3 files changed, 8 insertions, 4 deletions
diff --git a/mcs/ilasm/codegen/ChangeLog b/mcs/ilasm/codegen/ChangeLog index 291461065ac..4ad8728be70 100644 --- a/mcs/ilasm/codegen/ChangeLog +++ b/mcs/ilasm/codegen/ChangeLog @@ -1,3 +1,9 @@ +2008-04-10 Erven Rohou <erven.rohou@st.com> + + * DebuggingInfo.cs: use new DefineMethod API. Remove useless + variable. + * MethodDef.cs: remove useless variable. + 2008-04-07 Rodrigo Kumpera <rkumpera@novell.com> * MethodDef.cs: Mono.CompilerServices API has changed in an incompatible way diff --git a/mcs/ilasm/codegen/DebuggingInfo.cs b/mcs/ilasm/codegen/DebuggingInfo.cs index 8c87559bb52..a1ea8b543c8 100644 --- a/mcs/ilasm/codegen/DebuggingInfo.cs +++ b/mcs/ilasm/codegen/DebuggingInfo.cs @@ -110,9 +110,8 @@ namespace Mono.ILASM { uint token = ((uint) PEAPI.MDTable.Method << 24) | pemethod.Row; LocalVariableEntry[] locals = method.GetLocalVars(); - file.DefineMethod ( - method.Name, (int) token, locals, lne, null, - StartLine, EndLine, 0); + file.DefineMethod ((int)token, null, locals, lne, null, null, + StartLine, EndLine, 0); } } } diff --git a/mcs/ilasm/codegen/MethodDef.cs b/mcs/ilasm/codegen/MethodDef.cs index fc44d65d739..b7e8288679c 100644 --- a/mcs/ilasm/codegen/MethodDef.cs +++ b/mcs/ilasm/codegen/MethodDef.cs @@ -271,7 +271,6 @@ namespace Mono.ILASM { foreach (Local local in local_list) { if (local.Name != null) { // only named variables - PEAPI.Local plocal = local.GetPeapiLocal(codegen); locals[i++] = new LocalVariableEntry(local.Slot, local.Name, 0); } } |