Index: src/runtime/runtime-compiler.cc |
diff --git a/src/runtime/runtime-compiler.cc b/src/runtime/runtime-compiler.cc |
index 15a3a14156f138e2c87349bcf2eeaea84db76f43..61f0722c0407c3dace8dacbe526cebaedd42d7e7 100644 |
--- a/src/runtime/runtime-compiler.cc |
+++ b/src/runtime/runtime-compiler.cc |
@@ -40,6 +40,7 @@ RUNTIME_FUNCTION(Runtime_CompileLazy) { |
DCHECK(code->IsJavaScriptCode()); |
function->ReplaceCode(*code); |
+ JSFunction::EnsureLiterals(function); |
return *code; |
} |