2010-01-29 Zoltan Varga <vargaz@gmail.com>
* mini.h (MONO_INST_FAULT): New instruction flag for loads which can cause
a fault, only used by the LLVM backend.
* ir-emit.h: Add _FAULT variants of the LOAD_MEMBASE macros. Mark
OP_CHECK_THIS with OP_IMPLICIT_EXCEPTION.
* method-to-ir.c: Use the new LOAD_MEMBASE_FAULT opcodes, get rid of the
calls to MONO_EMIT_NULL_CHECK which is automatically done by the new macros.
* mini-llvm.c: Only generate volatile loads from load instructions which have
the MONO_INST_FAULT flag set.
git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@150534 e3ebcda4-bce8-0310-ba0a-eca2169e7518