Commit 93e63f78 authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[cleanup] Unify comments on context extension slot.

R=bmeurer@chromium.org

Change-Id: I215faf30fcd6c0a7c67a4969ec9255dd11b9be08
Reviewed-on: https://chromium-review.googlesource.com/c/1344112Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57652}
parent fed7bb50
......@@ -414,11 +414,10 @@ class ScriptContextTable : public FixedArray {
//
// [ extension ] Additional data.
//
// For native contexts, it contains the global object.
// For module contexts, it contains the module object.
//
// For block contexts, it may contain an "extension object"
// (see below).
//
// For await contexts, it contains the generator object.
// For block contexts, it may contain an "extension object".
// For with contexts, it contains an "extension object".
//
// An "extension object" is used to dynamically extend a
......@@ -452,11 +451,6 @@ class Context : public FixedArray, public NeverReadOnlySpaceObject {
// These slots are in all contexts.
SCOPE_INFO_INDEX,
PREVIOUS_INDEX,
// The extension slot is used for either the global object (in native
// contexts), eval extension object (function contexts), subject of with
// (with contexts), or the variable name (catch contexts), the serialized
// scope info (block contexts), the module instance (module contexts), or
// the generator object (await contexts).
EXTENSION_INDEX,
NATIVE_CONTEXT_INDEX,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment