From: Bernhard Urban Date: Fri, 17 Mar 2017 16:02:02 +0000 (+0100) Subject: [interp] fix offset for starg_vt insn X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=a5076ac0211f3cd3bc10a1bde6209ad5db4744d3;p=mono.git [interp] fix offset for starg_vt insn fixes an issue in TestDriver, thus enabling some more tests. --- diff --git a/mono/mini/interp/transform.c b/mono/mini/interp/transform.c index 480fe0bdb3a..43db9a14a77 100644 --- a/mono/mini/interp/transform.c +++ b/mono/mini/interp/transform.c @@ -502,7 +502,7 @@ store_arg(TransformData *td, int n) else size = mono_class_value_size (klass, NULL); ADD_CODE(td, MINT_STARG_VT); - ADD_CODE(td, n); + ADD_CODE(td, td->rtm->arg_offsets [n]); WRITE32(td, &size); if (td->sp [-1].type == STACK_TYPE_VT) POP_VT(td, size); diff --git a/mono/tests/Makefile.am b/mono/tests/Makefile.am index cbef28ab724..8dcef4b7b7a 100644 --- a/mono/tests/Makefile.am +++ b/mono/tests/Makefile.am @@ -1003,11 +1003,9 @@ INTERP_DISABLED_TESTS = \ invalid-token.exe \ invalid_generic_instantiation.exe \ invoke-string-ctors.exe \ - invoke.exe \ ldfld_missing_class.exe \ ldfld_missing_field.exe \ ldftn-access.exe \ - loader.exe \ marshal-valuetypes.exe \ marshal.exe \ marshal2.exe \ @@ -1047,7 +1045,6 @@ INTERP_DISABLED_TESTS = \ runtime-invoke.gen.exe \ safehandle.2.exe \ shared-generic-synchronized.2.exe \ - sleep.exe \ stackframes-async.2.exe \ static-constructor.exe \ test-inline-call-stack.exe \