Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1324)

Unified Diff: src/runtime/runtime-compiler.cc

Issue 1563213002: Type Feedback Vector lives in the closure (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698