Chromium Code Reviews| Index: src/liveedit.cc |
| diff --git a/src/liveedit.cc b/src/liveedit.cc |
| index 859cf2b94f34bd61e28afb185eb40f6c04d2f8bd..6400c65d237cc44aee7a855e8459815d53387f0c 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(kReplacedByLiveEdit); |
| } |
| if (shared_info->debug_info()->IsDebugInfo()) { |