Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 7ee6081026b7c58a786a3e3a5985a69259b1f787..2c013aaf2cc63b57eb1b7da70f0d3c9ae7393489 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -2880,23 +2880,6 @@ void HInferRepresentation::Analyze() { |
} |
// Use the phi reachability information from step 2 to |
- // push information about values which can't be converted to integer |
- // without deoptimization through the phi use-def chains, avoiding |
- // unnecessary deoptimizations later. |
- for (int i = 0; i < phi_count; ++i) { |
- HPhi* phi = phi_list->at(i); |
- bool cti = phi->AllOperandsConvertibleToInteger(); |
- if (cti) continue; |
- |
- for (BitVector::Iterator it(connected_phis.at(i)); |
- !it.Done(); |
- it.Advance()) { |
- HPhi* phi = phi_list->at(it.Current()); |
- phi->set_is_convertible_to_integer(false); |
- } |
- } |
- |
- // Use the phi reachability information from step 2 to |
// sum up the non-phi use counts of all connected phis. |
for (int i = 0; i < phi_count; ++i) { |
HPhi* phi = phi_list->at(i); |