Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index e61b2f87570acf1dc87fd97ffcb9ecdc12f1d79c..83a994b1c31c5c16f68854f01016b2923b586dc9 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -702,7 +702,7 @@ HValue* CodeStubGraphBuilder<KeyedLoadSloppyArgumentsStub>::BuildCodeStub() { |
// smi check is being emitted. |
HValue* the_context = Add<HLoadKeyed>(elements, graph()->GetConstant0(), |
nullptr, FAST_ELEMENTS); |
- DCHECK(Context::kHeaderSize == FixedArray::kHeaderSize); |
+ STATIC_ASSERT(Context::kHeaderSize == FixedArray::kHeaderSize); |
HValue* result = Add<HLoadKeyed>(the_context, mapped_index, nullptr, |
FAST_ELEMENTS, ALLOW_RETURN_HOLE); |
environment()->Push(result); |