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

Unified Diff: src/factory.cc

Issue 1516833002: Tighten the interface to the optimized code map (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Moved definition to private section. Created 5 years 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
« no previous file with comments | « no previous file | src/objects.h » ('j') | src/objects.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index 6e2587facd0a802e874fda122927112a6b87c2ee..2c9dace4236e20722fc23417b2cc8ace86b40dac 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -1368,8 +1368,8 @@ Handle<JSFunction> Factory::NewFunctionFromSharedFunctionInfo(
// Cache context-specific literals.
Handle<Context> native_context(context->native_context());
- SharedFunctionInfo::AddToOptimizedCodeMap(
- info, native_context, undefined_value(), literals, BailoutId::None());
+ SharedFunctionInfo::AddLiteralsToOptimizedCodeMap(info, native_context,
+ literals);
}
return result;
« no previous file with comments | « no previous file | src/objects.h » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698