Index: src/wasm/wasm-module.cc |
diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc |
index b4393efd20f196cee64b8dc1868c2e278671938c..47dbf21c692471800ae309a2d30e0baf013a1a27 100644 |
--- a/src/wasm/wasm-module.cc |
+++ b/src/wasm/wasm-module.cc |
@@ -786,7 +786,7 @@ WasmInstanceObject* wasm::GetOwningWasmInstance(Code* code) { |
DisallowHeapAllocation no_gc; |
FixedArray* deopt_data = code->deoptimization_data(); |
DCHECK_NOT_NULL(deopt_data); |
- DCHECK(deopt_data->length() == 2); |
+ DCHECK_EQ(2, deopt_data->length()); |
Object* weak_link = deopt_data->get(0); |
DCHECK(weak_link->IsWeakCell()); |
WeakCell* cell = WeakCell::cast(weak_link); |