From 77d7c11eeee8e5785d56e158ae06ebf47c4cd445 Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Sat, 11 Apr 2009 20:39:40 +0000 Subject: [PATCH] 2009-04-11 Zoltan Varga * mini.c (mini_method_compile): Put the last change inside an #ifdef MONO_ARCH_HAVE_LIVERANGE_OPS. svn path=/trunk/mono/; revision=131529 --- mono/mini/ChangeLog | 3 +++ mono/mini/mini.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/mono/mini/ChangeLog b/mono/mini/ChangeLog index 9aa4fbad280..89120de0fd8 100644 --- a/mono/mini/ChangeLog +++ b/mono/mini/ChangeLog @@ -1,5 +1,8 @@ 2009-04-11 Zoltan Varga + * mini.c (mini_method_compile): Put the last change inside an + #ifdef MONO_ARCH_HAVE_LIVERANGE_OPS. + * mini.c (mini_method_compile): Disable sharing of stack slots/registers and extend live ranges to cover the whole method when using xdb. diff --git a/mono/mini/mini.c b/mono/mini/mini.c index e6145f65b62..14dc2e57b88 100644 --- a/mono/mini/mini.c +++ b/mono/mini/mini.c @@ -3830,11 +3830,13 @@ mini_method_compile (MonoMethod *method, guint32 opts, MonoDomain *domain, gbool mono_arch_fixup_jinfo (cfg); #endif +#ifdef MONO_ARCH_HAVE_LIVERANGE_OPS if (cfg->extend_live_ranges) { /* Extend live ranges to cover the whole method */ for (i = 0; i < cfg->num_varinfo; ++i) MONO_VARINFO (cfg, i)->live_range_end = cfg->code_len; } +#endif mono_save_xdebug_info (cfg); -- 2.25.1