Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index c3344ec98759a28b767e29f5ba440065f210fe21..b84754e4f9fbba3b0fbfd1927ec7eca0d43bde58 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4245,6 +4245,8 @@ class ScopeInfo : public FixedArray { |
// must be an internalized string. |
int FunctionContextSlotIndex(String* name, VariableMode* mode); |
+ bool block_scope_is_class_scope(); |
+ FunctionKind function_kind(); |
// Copies all the context locals into an object used to materialize a scope. |
static bool CopyContextLocalsToScopeObject(Handle<ScopeInfo> scope_info, |
@@ -4350,6 +4352,10 @@ class ScopeInfo : public FixedArray { |
class AsmFunctionField : public BitField<bool, 13, 1> {}; |
class IsSimpleParameterListField |
: public BitField<bool, AsmFunctionField::kNext, 1> {}; |
+ class BlockScopeIsClassScopeField |
+ : public BitField<bool, IsSimpleParameterListField::kNext, 1> {}; |
+ class FunctionKindField |
+ : public BitField<FunctionKind, BlockScopeIsClassScopeField::kNext, 7> {}; |
// BitFields representing the encoded information for context locals in the |
// ContextLocalInfoEntries part. |