Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 8eb6ff577308015c0ec7ee0e7984d04d4e43ac81..18564ac0f9578f51a9aac39ae5c7ac35f1ceb246 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1242,6 +1242,9 @@ bool Compiler::CompileForLiveEdit(Handle<Script> script) { |
Isolate* isolate = script->GetIsolate(); |
DCHECK(AllowCompilation::IsAllowed(isolate)); |
+ // Get rid of old list of shared function infos. |
+ script->set_shared_function_infos(Smi::FromInt(0)); |
+ |
// Start a compilation. |
Zone zone(isolate->allocator()); |
ParseInfo parse_info(&zone, script); |