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

Unified Diff: src/contexts.h

Issue 2301913002: Rename SloppyBlockWithEvalContextExtension to ContextExtension (Closed)
Patch Set: updates Created 4 years, 3 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 | « no previous file | src/contexts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/contexts.h
diff --git a/src/contexts.h b/src/contexts.h
index 406ae28c7242a3bbabea381261f9f02101cdf5cc..dc8c75ff59c8e7bc87af458bc83c338bcadd7f38 100644
--- a/src/contexts.h
+++ b/src/contexts.h
@@ -298,8 +298,8 @@ class ScriptContextTable : public FixedArray {
//
// [ previous ] A pointer to the previous context.
//
-// [ extension ] A pointer to an extension JSObject, or "the hole". Used to
-// implement 'with' statements and dynamic declarations
+// [ extension ] A pointer to a ContextExtension object, or "the hole". Used
+// to implement 'with' statements and dynamic declarations
// (through 'eval'). The object in a 'with' statement is
// stored in the extension slot of a 'with' context.
// Dynamically declared variables/functions are also added
@@ -308,8 +308,8 @@ class ScriptContextTable : public FixedArray {
// For script and block contexts, contains the respective
// ScopeInfo. For block contexts representing sloppy declaration
// block scopes, it may also be a struct being a
-// SloppyBlockWithEvalContextExtension, pairing the ScopeInfo
-// with an extension object.
+// ContextExtension, pairing the ScopeInfo with an extension
+// object.
//
// [ native_context ] A pointer to the native context.
//
« no previous file with comments | « no previous file | src/contexts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698