Commit bbc5a6c0 authored by Ben L. Titzer's avatar Ben L. Titzer

Fix Windows 32.

TBR=dcarney@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#25522}
parent da22163d
...@@ -112,10 +112,13 @@ bool JumpThreading::ComputeForwarding(Zone* local_zone, ...@@ -112,10 +112,13 @@ bool JumpThreading::ComputeForwarding(Zone* local_zone,
} }
} }
#if DEBUG #ifdef DEBUG
for (RpoNumber num : result) DCHECK(num.IsValid()); for (RpoNumber num : result) {
CHECK(num.IsValid());
}
#endif #endif
if (FLAG_trace_turbo_jt) {
for (int i = 0; i < static_cast<int>(result.size()); i++) { for (int i = 0; i < static_cast<int>(result.size()); i++) {
TRACE(("RPO%d B%d ", i, TRACE(("RPO%d B%d ", i,
code->InstructionBlockAt(RpoNumber::FromInt(i))->id().ToInt())); code->InstructionBlockAt(RpoNumber::FromInt(i))->id().ToInt()));
...@@ -127,6 +130,7 @@ bool JumpThreading::ComputeForwarding(Zone* local_zone, ...@@ -127,6 +130,7 @@ bool JumpThreading::ComputeForwarding(Zone* local_zone,
TRACE(("\n")); TRACE(("\n"));
} }
} }
}
return state.forwarded; return state.forwarded;
} }
......
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