Commit 4bce03b6 authored by titzer's avatar titzer Committed by Commit bot

[wasm] Clean up some DCHECKS in asm->wasm.

R=ahaas@chromium.org,aseemgarg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1699793002

Cr-Commit-Position: refs/heads/master@{#33979}
parent 5c5c6e38
This diff is collapsed.
...@@ -219,9 +219,9 @@ struct FunctionEnv { ...@@ -219,9 +219,9 @@ struct FunctionEnv {
UNREACHABLE(); UNREACHABLE();
} }
total_locals += count; total_locals += count;
DCHECK(total_locals == DCHECK_EQ(total_locals,
(sig->parameter_count() + local_i32_count + local_i64_count + (sig->parameter_count() + local_i32_count + local_i64_count +
local_f32_count + local_f64_count)); local_f32_count + local_f64_count));
} }
void SumLocals() { void SumLocals() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment