| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 29898eadf53d35e5a8d9a2c07c710ba01259b38d..de3026eefca666af7091ca20f1b5a8888ffa7afc 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4394,6 +4394,13 @@ class ScopeInfo : public FixedArray {
|
| // Returns true if this ScopeInfo is linked to a outer ScopeInfo.
|
| bool HasOuterScopeInfo();
|
|
|
| + // Returns true if this ScopeInfo was created for a debug-evaluate scope.
|
| + bool IsDebugEvaluateScope();
|
| +
|
| + // Can be used to mark a ScopeInfo that looks like a with-scope as actually
|
| + // being a debug-evaluate scope.
|
| + void SetIsDebugEvaluateScope();
|
| +
|
| // Return the outer ScopeInfo if present.
|
| ScopeInfo* OuterScopeInfo();
|
|
|
| @@ -4525,6 +4532,8 @@ class ScopeInfo : public FixedArray {
|
| : public BitField<FunctionKind, HasSimpleParametersField::kNext, 9> {};
|
| class HasOuterScopeInfoField
|
| : public BitField<bool, FunctionKindField::kNext, 1> {};
|
| + class IsDebugEvaluateScopeField
|
| + : public BitField<bool, HasOuterScopeInfoField::kNext, 1> {};
|
|
|
| // Properties of variables.
|
| class VariableModeField : public BitField<VariableMode, 0, 3> {};
|
|
|