Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index e371277b4e14b3a50995d31cc3707358edc98edc..cd8755a9796fb3abe6f83ac87e159138c39f1a28 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -3993,6 +3993,9 @@ Representation HPhi::RepresentationFromInputs() { |
Representation HValue::RepresentationFromUseRequirements() { |
Representation rep = Representation::None(); |
for (HUseIterator it(uses()); !it.Done(); it.Advance()) { |
+ // Ignore the use requirement from never run code |
+ if (it.value()->block()->IsDeoptimizing()) continue; |
+ |
// We check for observed_input_representation elsewhere. |
Representation use_rep = |
it.value()->RequiredInputRepresentation(it.index()); |