Index: src/contexts.h |
diff --git a/src/contexts.h b/src/contexts.h |
index fd60a89ad7ed6412e25e497c6aaa22c3cb65844d..2c173e1aec451823a1d567375d942ada66f1ba26 100644 |
--- a/src/contexts.h |
+++ b/src/contexts.h |
@@ -545,8 +545,8 @@ class Context: public FixedArray { |
static bool IsBootstrappingOrGlobalObject(Isolate* isolate, Object* object); |
#endif |
- STATIC_CHECK(kHeaderSize == Internals::kContextHeaderSize); |
- STATIC_CHECK(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
+ STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); |
+ STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); |
}; |
} } // namespace v8::internal |