[jit]Replace all usages of MONO_INST_INDIRECT to force regalloc with MONO_INST_VOLATILE.
authorRodrigo Kumpera <kumpera@gmail.com>
Thu, 31 Oct 2013 20:41:26 +0000 (16:41 -0400)
committerRodrigo Kumpera <kumpera@gmail.com>
Thu, 31 Oct 2013 21:37:06 +0000 (17:37 -0400)
commitcdd96589ad20ccb75b46eed22a871d64d8e54e1d
tree72b31440b6fe2973d69b6f5b6c09cfd376068748
parente30fed93a6945acdc2435a4f1c8153ee33296629
[jit]Replace all usages of MONO_INST_INDIRECT to force regalloc with MONO_INST_VOLATILE.

The indirect flag should only be used to signal that the address of the given variable
has been taken. This means that it should be possible to recompute that flag from the IR.

The usage of the volatile flag remains not ideal as it conflates two separate issues
and will in the future hinder efforts to implement address based alias analysis.
mono/mini/method-to-ir.c