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

Unified Diff: src/factory.h

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
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index 09cb9405be41a69a0247c14b7d1aff4d03c20b95..d35a05f2a8dab0240ca427a64d4e0bcf290da954 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -280,6 +280,11 @@ class V8_EXPORT_PRIVATE Factory final {
Handle<JSFunction> function,
Handle<ScopeInfo> scope_info);
+ // Create a eval context.
+ Handle<Context> NewEvalContext(Handle<Module> module,
+ Handle<JSFunction> function,
+ Handle<ScopeInfo> scope_info);
+
// Create a function context.
Handle<Context> NewFunctionContext(int length, Handle<JSFunction> function);
« src/contexts.cc ('K') | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698