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

Unified Diff: src/code-factory.cc

Issue 2435023002: Use a different map to distinguish eval contexts (Closed)
Patch Set: Crankshaft backends and scope deserialization Created 4 years, 2 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
« no previous file with comments | « src/code-factory.h ('k') | src/code-stubs.h » ('j') | src/contexts.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index 79cc649d560e4d46140c50a747f1159ac67d15f5..d1c89f67c30e02d02e646315b76b6ffa7302e5e7 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -344,8 +344,8 @@ Callable CodeFactory::FastCloneShallowObject(Isolate* isolate, int length) {
// static
-Callable CodeFactory::FastNewFunctionContext(Isolate* isolate) {
- FastNewFunctionContextStub stub(isolate);
+Callable CodeFactory::FastNewFunctionContext(Isolate* isolate, bool for_eval) {
+ FastNewFunctionContextStub stub(isolate, for_eval);
return make_callable(stub);
}
« no previous file with comments | « src/code-factory.h ('k') | src/code-stubs.h » ('j') | src/contexts.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698