diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2008-04-07 21:37:24 +0400 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2008-04-07 21:37:24 +0400 |
commit | a8c642d369ddf2aedc0680f90cce3790b8ab9cf9 (patch) | |
tree | 95948ab16545abe53cfa70965ad1e3462afcf71f /mcs/ilasm | |
parent | b76012f59ef1733996e7bf9040d3625cae2dd601 (diff) |
2008-04-07 Rodrigo Kumpera <rkumpera@novell.com>
* MethodDef.cs: Mono.CompilerServices API has changed in an incompatible way
since Erven's patch. Fixed it to follow the new one.
svn path=/trunk/mcs/; revision=100037
Diffstat (limited to 'mcs/ilasm')
-rw-r--r-- | mcs/ilasm/codegen/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/ilasm/codegen/MethodDef.cs | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mcs/ilasm/codegen/ChangeLog b/mcs/ilasm/codegen/ChangeLog index e22d54e9b42..291461065ac 100644 --- a/mcs/ilasm/codegen/ChangeLog +++ b/mcs/ilasm/codegen/ChangeLog @@ -1,3 +1,8 @@ +2008-04-07 Rodrigo Kumpera <rkumpera@novell.com> + + * MethodDef.cs: Mono.CompilerServices API has changed in an incompatible way + since Erven's patch. Fixed it to follow the new one. + 2008-04-07 Erven Rohou <erven.rohou@st.com> * DebugInfo.cs, MethodDef.cs: Add support for emitting variable names diff --git a/mcs/ilasm/codegen/MethodDef.cs b/mcs/ilasm/codegen/MethodDef.cs index 1478f01b1ff..fc44d65d739 100644 --- a/mcs/ilasm/codegen/MethodDef.cs +++ b/mcs/ilasm/codegen/MethodDef.cs @@ -272,8 +272,7 @@ namespace Mono.ILASM { foreach (Local local in local_list) { if (local.Name != null) { // only named variables PEAPI.Local plocal = local.GetPeapiLocal(codegen); - byte[] sig = plocal.TypeSig(); - locals[i++] = new LocalVariableEntry(local.Slot, local.Name, sig, 0); + locals[i++] = new LocalVariableEntry(local.Slot, local.Name, 0); } } return locals; |