Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d682cde0f81cb0a4edd5d86b5903fccfad8f17b3..80d1fd47d02ab60dd015704d7836b20bf9b9189a 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -680,6 +680,7 @@ const int kExternalArrayTypeCount = |
STATIC_CHECK(JS_OBJECT_TYPE == Internals::kJSObjectType); |
STATIC_CHECK(FIRST_NONSTRING_TYPE == Internals::kFirstNonstringType); |
+STATIC_CHECK(ODDBALL_TYPE == Internals::kOddballType); |
STATIC_CHECK(FOREIGN_TYPE == Internals::kForeignType); |
@@ -7636,6 +7637,10 @@ class Oddball: public HeapObject { |
kToNumberOffset + kPointerSize, |
kSize> BodyDescriptor; |
+ STATIC_CHECK(kKindOffset == Internals::kOddballKindOffset); |
+ STATIC_CHECK(kNull == Internals::kNullOddballKind); |
+ STATIC_CHECK(kUndefined == Internals::kUndefinedOddballKind); |
+ |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(Oddball); |
}; |