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

Unified Diff: src/factory.h

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/factory.h
diff --git a/src/factory.h b/src/factory.h
index e8d4a3a5d4ef307d9f3ef5bf065e76895c23c585..97e8ea469f3b5d371511f377069298cebe10b676 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -288,6 +288,9 @@ class V8_EXPORT_PRIVATE Factory final {
// Create a function context.
Handle<Context> NewFunctionContext(int length, Handle<JSFunction> function);
+ // Create a eval context.
+ Handle<Context> NewEvalContext(int length, Handle<JSFunction> function);
+
// Create a catch context.
Handle<Context> NewCatchContext(Handle<JSFunction> function,
Handle<Context> previous,

Powered by Google App Engine
This is Rietveld 408576698