Index: src/arm/lithium-arm.cc |
=================================================================== |
--- src/arm/lithium-arm.cc (revision 7669) |
+++ src/arm/lithium-arm.cc (working copy) |
@@ -131,6 +131,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()); |
@@ -144,6 +145,7 @@ |
return false; |
} |
} |
+ |
return true; |
} |
@@ -428,6 +430,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) { |