Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index bb0fa0f3cbe85e67c52fd7d0835d59a6dc538443..fda139750eb2fadc7f21e15ccc00489f5ce6290d 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1308,7 +1308,7 @@ MaybeHandle<JSArray> Compiler::CompileForLiveEdit(Handle<Script> script) { |
// generated shared function infos, clear the script's list temporarily |
// and restore it at the end of this method. |
Handle<Object> old_function_infos(script->shared_function_infos(), isolate); |
- script->set_shared_function_infos(Smi::kZero); |
+ script->set_shared_function_infos(Smi::FromInt(0)); |
// Start a compilation. |
Zone zone(isolate->allocator()); |