2008-04-16 Zoltan Varga <vargaz@gmail.com>
commit45127274f1569ec5ff73fcbb95f6d359434df4ef
authorzoltan <zoltan@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Wed, 16 Apr 2008 12:39:22 +0000 (16 12:39 +0000)
committerzoltan <zoltan@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Wed, 16 Apr 2008 12:39:22 +0000 (16 12:39 +0000)
tree94274dda8bbe071820931a0cfeab36a733f3c4fd
parentc178faab45f6a401530290474fdbd9cd4daca9fa
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@100858 e3ebcda4-bce8-0310-ba0a-eca2169e7518
mono/mini/ChangeLog
mono/mini/linear-scan.c
mono/mini/liveness.c
mono/mini/mini.c
mono/mini/mini.h