From 8b383a032bf05a83066c72f65a0a38e64fd28097 Mon Sep 17 00:00:00 2001 From: kumpera Date: Fri, 9 Apr 2010 15:14:50 +0000 Subject: [PATCH] 2010-04-09 Rodrigo Kumpera * verify.c (mono_method_verify): A switch op don't empty the stack for the next one. Fixes a bug when running fsi under --verify-all. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@155154 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- mono/metadata/ChangeLog | 6 ++++++ mono/metadata/verify.c | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/mono/metadata/ChangeLog b/mono/metadata/ChangeLog index fbe29d52c..12b39092e 100644 --- a/mono/metadata/ChangeLog +++ b/mono/metadata/ChangeLog @@ -1,5 +1,11 @@ 2010-04-09 Rodrigo Kumpera + * verify.c (mono_method_verify): A switch op don't empty + the stack for the next one. Fixes a bug when running fsi + under --verify-all. + +2010-04-09 Rodrigo Kumpera + * metadata-verify.c (is_valid_standalonesig_blob): Accept fields as valid standalone sig too. F# does generate them. diff --git a/mono/metadata/verify.c b/mono/metadata/verify.c index 173e49339..ee7b43b7b 100644 --- a/mono/metadata/verify.c +++ b/mono/metadata/verify.c @@ -5002,7 +5002,6 @@ mono_method_verify (MonoMethod *method, int level) code_bounds_check (sizeof (guint32) * entries); do_switch (&ctx, entries, ip); - start = 1; ip += sizeof (guint32) * entries; break; } -- 2.11.4.GIT