summaryrefslogtreecommitdiff
path: root/chromium/v8/src/objects/scope-info.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-12 14:27:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-13 09:35:20 +0000
commitc30a6232df03e1efbd9f3b226777b07e087a1122 (patch)
treee992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/v8/src/objects/scope-info.h
parent7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff)
downloadqtwebengine-chromium-85-based.tar.gz
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/v8/src/objects/scope-info.h')
-rw-r--r--chromium/v8/src/objects/scope-info.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/chromium/v8/src/objects/scope-info.h b/chromium/v8/src/objects/scope-info.h
index 2e7df22562a..73f039e3f60 100644
--- a/chromium/v8/src/objects/scope-info.h
+++ b/chromium/v8/src/objects/scope-info.h
@@ -200,13 +200,13 @@ class ScopeInfo : public FixedArray {
bool is_script_scope() const;
- // Returns true if this ScopeInfo has a black list attached containing
- // stack allocated local variables.
- V8_EXPORT_PRIVATE bool HasLocalsBlackList() const;
+ // Returns true if this ScopeInfo has a blocklist attached containing stack
+ // allocated local variables.
+ V8_EXPORT_PRIVATE bool HasLocalsBlockList() const;
// Returns a list of stack-allocated locals of parent scopes.
// Used during local debug-evalute to decide whether a context lookup
// can continue upwards after checking this scope.
- V8_EXPORT_PRIVATE StringSet LocalsBlackList() const;
+ V8_EXPORT_PRIVATE StringSet LocalsBlockList() const;
// Returns true if this ScopeInfo was created for a scope that skips the
// closest outer class when resolving private names.
@@ -231,12 +231,12 @@ class ScopeInfo : public FixedArray {
static Handle<ScopeInfo> CreateForNativeContext(Isolate* isolate);
static Handle<ScopeInfo> CreateGlobalThisBinding(Isolate* isolate);
- // Creates a copy of a {ScopeInfo} but with the provided locals blacklist
+ // Creates a copy of a {ScopeInfo} but with the provided locals blocklist
// attached. Does nothing if the original {ScopeInfo} already has a field
- // for a blacklist reserved.
- V8_EXPORT_PRIVATE static Handle<ScopeInfo> RecreateWithBlackList(
+ // for a blocklist reserved.
+ V8_EXPORT_PRIVATE static Handle<ScopeInfo> RecreateWithBlockList(
Isolate* isolate, Handle<ScopeInfo> original,
- Handle<StringSet> blacklist);
+ Handle<StringSet> blocklist);
// Serializes empty scope info.
V8_EXPORT_PRIVATE static ScopeInfo Empty(Isolate* isolate);
@@ -302,7 +302,7 @@ class ScopeInfo : public FixedArray {
// the scope belongs to a function or script.
// 8. OuterScopeInfoIndex:
// The outer scope's ScopeInfo or the hole if there's none.
- // 9. LocalsBlackList: List of stack allocated local variables. Used by
+ // 9. LocalsBlockList: List of stack allocated local variables. Used by
// debug evaluate to properly abort variable lookup when a name clashes
// with a stack allocated local that can't be materialized.
// 10. SourceTextModuleInfo, ModuleVariableCount, and ModuleVariables:
@@ -317,7 +317,7 @@ class ScopeInfo : public FixedArray {
int InferredFunctionNameIndex() const;
int PositionInfoIndex() const;
int OuterScopeInfoIndex() const;
- V8_EXPORT_PRIVATE int LocalsBlackListIndex() const;
+ V8_EXPORT_PRIVATE int LocalsBlockListIndex() const;
int ModuleInfoIndex() const;
int ModuleVariableCountIndex() const;
int ModuleVariablesIndex() const;
@@ -354,7 +354,7 @@ class ScopeInfo : public FixedArray {
friend std::ostream& operator<<(std::ostream& os, VariableAllocationInfo var);
OBJECT_CONSTRUCTORS(ScopeInfo, FixedArray);
- FRIEND_TEST(TestWithNativeContext, RecreateScopeInfoWithLocalsBlacklistWorks);
+ FRIEND_TEST(TestWithNativeContext, RecreateScopeInfoWithLocalsBlocklistWorks);
};
std::ostream& operator<<(std::ostream& os, VariableAllocationInfo var);