Chromium Code Reviews| Index: src/liveedit.cc |
| diff --git a/src/liveedit.cc b/src/liveedit.cc |
| index bab2e101bc22d7a6ca5e39082ff0cbe0eac4155a..b998a26dd7b8661b47ebc45725d4e10a65be6a2d 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("LiveEdit"); |
| } |
| if (shared_info->debug_info()->IsDebugInfo()) { |