Index: src/ia32/lithium-ia32.cc |
=================================================================== |
--- src/ia32/lithium-ia32.cc (revision 7669) |
+++ src/ia32/lithium-ia32.cc (working copy) |
@@ -133,6 +133,7 @@ |
void LLabel::PrintDataTo(StringStream* stream) { |
+ LGap::PrintDataTo(stream); |
LLabel* rep = replacement(); |
if (rep != NULL) { |
stream->Add(" Dead block replaced with B%d", rep->block_id()); |
@@ -146,6 +147,7 @@ |
return false; |
} |
} |
+ |
return true; |
} |
@@ -386,6 +388,7 @@ |
if (last_instr->IsGoto()) { |
LGoto* goto_instr = LGoto::cast(last_instr); |
if (!goto_instr->include_stack_check() && |
+ label->IsRedundant() && |
!label->is_loop_header()) { |
bool can_eliminate = true; |
for (int i = first + 1; i < last && can_eliminate; ++i) { |