Index: src/x64/lithium-x64.cc |
=================================================================== |
--- src/x64/lithium-x64.cc (revision 7669) |
+++ src/x64/lithium-x64.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; |
} |
@@ -385,6 +387,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) { |