Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 8a0ea19b62caf3a70e1d929fa1b698cd2d07fd49..64ae06c759b776530339f6fa9ae97d6be2ae2ecc 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1054,6 +1054,7 @@ void Compiler::CompileForLiveEdit(Handle<Script> script) { |
VMState<COMPILER> state(info.isolate()); |
// Get rid of old list of shared function infos. |
+ script->set_shared_function_infos(Smi::FromInt(0)); |
info.MarkAsFirstCompile(); |
info.parse_info()->set_global(); |
if (!Parser::ParseStatic(info.parse_info())) return; |