2008-04-16 Zoltan Varga <vargaz@gmail.com>
commit2a6edc8a55195d22ec26a8eb56ae3746340b473c
authorzoltan <zoltan@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Wed, 16 Apr 2008 12:46:37 +0000 (16 12:46 +0000)
committerzoltan <zoltan@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Wed, 16 Apr 2008 12:46:37 +0000 (16 12:46 +0000)
tree27634023a31fc4095f9ffa7c685b1b5a88db7b7c
parent45127274f1569ec5ff73fcbb95f6d359434df4ef
2008-04-16  Zoltan Varga  <vargaz@gmail.com>

* liveness.c (mono_analyze_liveness): Disable the initlocals optimization if
running under the debugger.

* linear-scan.c (mono_linear_scan): Avoid sharing registers if running under the
debugger.

* mini.c (mini_method_compile): Set a few flags in cfg if running under the
debugger. Also move the disabling of optimizations here from driver.c.
(mono_allocate_stack_slots_full): Avoid sharing stack slots if running under the
debugger.

* mini.h (MonoCompile): Add a few new flags.

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@100861 e3ebcda4-bce8-0310-ba0a-eca2169e7518
mono/mini/driver.c