Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index a4578ee3dfa5324e94cdd9ae32c2b08ffd9b7852..57ba4655e14b9d262a6b9e0e6b62a93fa70a9aba 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -1267,6 +1267,7 @@ void HGraph::MarkAsDeoptimizingRecursively(HBasicBlock* block) { |
void HGraph::NullifyUnreachableInstructions() { |
+ if (!FLAG_unreachable_code_elimination) return; |
int block_count = blocks_.length(); |
for (int i = 0; i < block_count; ++i) { |
HBasicBlock* block = blocks_.at(i); |