Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/ilasm
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@gmail.com>2008-04-10 16:54:46 +0400
committerRodrigo Kumpera <kumpera@gmail.com>2008-04-10 16:54:46 +0400
commit119e6f781832fe153f8d83be19bfef08423d07ae (patch)
treec55bd4aed73ddf03999759f7602ddf78681cb0b8 /mcs/ilasm
parentcc9e00663f488f6c01163b4095593dc2603d2fb2 (diff)
2008-04-10 Erven Rohou <erven.rohou@st.com>
* DebuggingInfo.cs: use new DefineMethod API. Remove useless variable. * MethodDef.cs: remove useless variable. svn path=/trunk/mcs/; revision=100319
Diffstat (limited to 'mcs/ilasm')
-rw-r--r--mcs/ilasm/codegen/ChangeLog6
-rw-r--r--mcs/ilasm/codegen/DebuggingInfo.cs5
-rw-r--r--mcs/ilasm/codegen/MethodDef.cs1
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);
}
}