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

Unified Diff: src/code-factory.cc

Issue 2435023002: Use a different map to distinguish eval contexts (Closed)
Patch Set: Changes based on review commnets Created 4 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 | « src/code-factory.h ('k') | src/code-stubs.h » ('j') | src/code-stubs.h » ('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 e8f2b79eedec5b3b97b8d910f5f956f2a4f7ce0a..c6fe601a435bd6a35574e49ab31945b3e377a92a 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -360,8 +360,9 @@ Callable CodeFactory::FastCloneShallowObject(Isolate* isolate, int length) {
// static
-Callable CodeFactory::FastNewFunctionContext(Isolate* isolate) {
- FastNewFunctionContextStub stub(isolate);
+Callable CodeFactory::FastNewFunctionContext(Isolate* isolate,
+ ScopeType scope_type) {
+ FastNewFunctionContextStub stub(isolate, scope_type);
return make_callable(stub);
}
« no previous file with comments | « src/code-factory.h ('k') | src/code-stubs.h » ('j') | src/code-stubs.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698