[mono/mono] 53c777d2: [jit] Fix a gsharedvt crash on x86.
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <0000014214a82127-e76e866e-5838-4a81-beab-17109a6e6a7f-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/mono
Compare: https://github.com/mono/mono/compare/f3b4e40281a6...53c777d22bb0
Commit: 53c777d22bb03732c63a3608ce379777ec1b6caf
Author: Zoltan Varga <[email protected]> (vargaz)
Date: 2013-11-01 17:12:50 GMT
URL: https://github.com/mono/mono/commit/53c777d22bb03732c63a3608ce379777ec1b6caf
[jit] Fix a gsharedvt crash on x86.
Changed paths:
M mono/mini/mini-x86.c
Modified: mono/mini/mini-x86.c
===================================================================
@@ -1479,6 +1479,8 @@ static const guint32 *callconv_param_regs(MonoMethodSignature *sig)
arg->opcode = OP_OUTARG_VT;
arg->sreg1 = in->dreg;
arg->klass = in->klass;
+ arg->inst_p1 = mono_mempool_alloc (cfg->mempool, sizeof (ArgInfo));
+ memcpy (arg->inst_p1, ainfo, sizeof (ArgInfo));
sp_offset += 4;
MONO_ADD_INS (cfg->cbb, arg);
} else if ((i >= sig->hasthis) && (MONO_TYPE_ISSTRUCT(t))) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches