| Index: src/lithium-codegen.cc
|
| diff --git a/src/lithium-codegen.cc b/src/lithium-codegen.cc
|
| index 6d76b35c22131e47bace7ab73ccbd668072de831..a7dc6842c45c573e6ec285eea83bf34d9afeb668 100644
|
| --- a/src/lithium-codegen.cc
|
| +++ b/src/lithium-codegen.cc
|
| @@ -142,6 +142,7 @@ void LCodeGenBase::Comment(const char* format, ...) {
|
|
|
| int LCodeGenBase::GetNextEmittedBlock() const {
|
| for (int i = current_block_ + 1; i < graph()->blocks()->length(); ++i) {
|
| + if (!graph()->blocks()->at(i)->IsReachable()) continue;
|
| if (!chunk_->GetLabel(i)->HasReplacement()) return i;
|
| }
|
| return -1;
|
|
|