Index: src/liveedit.cc |
diff --git a/src/liveedit.cc b/src/liveedit.cc |
index 859cf2b94f34bd61e28afb185eb40f6c04d2f8bd..406510a3b867fbcc65586ce67d0b6b73b48d14b9 100644 |
--- a/src/liveedit.cc |
+++ b/src/liveedit.cc |
@@ -1290,6 +1290,7 @@ MaybeObject* LiveEdit::ReplaceFunctionCode( |
if (code_scope_info->IsFixedArray()) { |
shared_info->set_scope_info(ScopeInfo::cast(*code_scope_info)); |
} |
+ shared_info->DisableOptimization(kLiveEdit); |
} |
if (shared_info->debug_info()->IsDebugInfo()) { |