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

Unified Diff: src/code-factory.cc

Issue 2435023002: Use a different map to distinguish eval contexts (Closed)
Patch Set: relax dchecks Created 4 years, 1 month 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/code-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index b6eb1744d4b8d82beea997d6b561a76a54205ebd..11c8c02b517200cac3c7de069663022787b438d9 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -373,6 +373,11 @@ Callable CodeFactory::FastNewFunctionContext(Isolate* isolate) {
return make_callable(stub);
}
+Callable CodeFactory::FastNewEvalContext(Isolate* isolate) {
+ FastNewEvalContextStub stub(isolate);
+ return make_callable(stub);
+}
+
// static
Callable CodeFactory::FastNewClosure(Isolate* isolate) {
FastNewClosureStub stub(isolate);

Powered by Google App Engine
This is Rietveld 408576698