Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 0432b83d9fdbc97b2f124ceaf6d9fc3244e89c14..e8314e09d96469563da26da2d808f2ceac3eee80 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4404,9 +4404,9 @@ class ScopeInfo : public FixedArray { |
// Properties of scopes. |
class ScopeTypeField : public BitField<ScopeType, 0, 4> {}; |
class CallsEvalField : public BitField<bool, ScopeTypeField::kNext, 1> {}; |
- STATIC_ASSERT(LANGUAGE_END == 3); |
+ STATIC_ASSERT(LANGUAGE_END == 2); |
class LanguageModeField |
- : public BitField<LanguageMode, CallsEvalField::kNext, 2> {}; |
+ : public BitField<LanguageMode, CallsEvalField::kNext, 1> {}; |
class DeclarationScopeField |
: public BitField<bool, LanguageModeField::kNext, 1> {}; |
class ReceiverVariableField |
@@ -7508,8 +7508,6 @@ class SharedFunctionInfo: public HeapObject { |
kIsAsmWasmBroken, |
kCompilerHintsCount, // Pseudo entry |
}; |
- // Add hints for other modes when they're added. |
- STATIC_ASSERT(LANGUAGE_END == 3); |
// kFunctionKind has to be byte-aligned |
STATIC_ASSERT((kFunctionKind % kBitsPerByte) == 0); |
// Make sure that FunctionKind and byte 2 are in sync: |