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,19 +112,23 @@ bool JumpThreading::ComputeForwarding(Zone* local_zone, ...@@ -112,19 +112,23 @@ 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
for (int i = 0; i < static_cast<int>(result.size()); i++) { if (FLAG_trace_turbo_jt) {
TRACE(("RPO%d B%d ", i, for (int i = 0; i < static_cast<int>(result.size()); i++) {
code->InstructionBlockAt(RpoNumber::FromInt(i))->id().ToInt())); TRACE(("RPO%d B%d ", i,
int to = result[i].ToInt(); code->InstructionBlockAt(RpoNumber::FromInt(i))->id().ToInt()));
if (i != to) { int to = result[i].ToInt();
TRACE(("-> B%d\n", if (i != to) {
code->InstructionBlockAt(RpoNumber::FromInt(to))->id().ToInt())); TRACE(("-> B%d\n",
} else { code->InstructionBlockAt(RpoNumber::FromInt(to))->id().ToInt()));
TRACE(("\n")); } else {
TRACE(("\n"));
}
} }
} }
......
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