[jit] Save/restore all-callee saved registers in methods using some atomic opcodes...
authorZoltan Varga <vargaz@gmail.com>
Mon, 6 Jan 2014 00:20:00 +0000 (01:20 +0100)
committerZoltan Varga <vargaz@gmail.com>
Mon, 6 Jan 2014 00:20:12 +0000 (01:20 +0100)
commit3dba964da70db4e5b2030a5e67aefc49b5e7e16e
tree88703cc0d06c411a59a782626708d20fb15e7c46
parent9921b0306faf2fd308e6a62922e5a4ce85f6ade2
[jit] Save/restore all-callee saved registers in methods using some atomic opcodes on x86, since the opcode implementations use these registers, and the push/pop code used by these opcodes is not async safe, since the unwind code doesn't know about it. Fixes part of #16808.
mono/mini/method-to-ir.c
mono/mini/mini-x86.c
mono/mini/mini.h