Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 5d0b22fd0c7d12433fe7d1e6d2e5ab84e9ff7752..6706d6431ac7e2cb38e5343a0da7d94f21cb7b02 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1320,7 +1320,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::FromInt(0)); |
+ script->set_shared_function_infos(Smi::kZero); |
// Start a compilation. |
Zone zone(isolate->allocator()); |