| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 8f8908dc98a5346bb2f28c78072ae94222846c33..a19601ef0f6157d5017ba833cfcdd833ada40e2a 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4001,6 +4001,9 @@
|
| // or context-allocated?
|
| bool HasAllocatedReceiver();
|
|
|
| + // Does this scope declare a "new.target" binding?
|
| + bool HasNewTarget();
|
| +
|
| // Is this scope the scope of a named function expression?
|
| bool HasFunctionName();
|
|
|
| @@ -4209,9 +4212,10 @@
|
| class ReceiverVariableField
|
| : public BitField<VariableAllocationInfo, DeclarationScopeField::kNext,
|
| 2> {};
|
| + class HasNewTargetField
|
| + : public BitField<bool, ReceiverVariableField::kNext, 1> {};
|
| class FunctionVariableField
|
| - : public BitField<VariableAllocationInfo, ReceiverVariableField::kNext,
|
| - 2> {};
|
| + : public BitField<VariableAllocationInfo, HasNewTargetField::kNext, 2> {};
|
| class FunctionVariableMode
|
| : public BitField<VariableMode, FunctionVariableField::kNext, 3> {};
|
| class AsmModuleField : public BitField<bool, FunctionVariableMode::kNext, 1> {
|
|
|