Index: src/wasm/ast-decoder.h |
diff --git a/src/wasm/ast-decoder.h b/src/wasm/ast-decoder.h |
index f07c8800f80a468bbe578f39682a1c043beff17d..957e678f2cf9d9cdae04223e2fc01076034c6473 100644 |
--- a/src/wasm/ast-decoder.h |
+++ b/src/wasm/ast-decoder.h |
@@ -219,9 +219,9 @@ struct FunctionEnv { |
UNREACHABLE(); |
} |
total_locals += count; |
- DCHECK(total_locals == |
- (sig->parameter_count() + local_i32_count + local_i64_count + |
- local_f32_count + local_f64_count)); |
+ DCHECK_EQ(total_locals, |
+ (sig->parameter_count() + local_i32_count + local_i64_count + |
+ local_f32_count + local_f64_count)); |
} |
void SumLocals() { |