Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 42f5dad0668234cec796fa43dd7c886caced038d..f656fb04b7fcf8efcc01835517f1189901eb5b15 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -3195,9 +3195,8 @@ void HGraph::InsertRepresentationChanges() { |
HValue* use = it.value(); |
Representation input_representation = |
use->RequiredInputRepresentation(it.index()); |
- if ((input_representation.IsInteger32() && |
- !use->CheckFlag(HValue::kTruncatingToInt32)) || |
- input_representation.IsDouble()) { |
+ if (!input_representation.IsInteger32() || |
+ !use->CheckFlag(HValue::kTruncatingToInt32)) { |
if (FLAG_trace_representation) { |
PrintF("#%d Phi is not truncating because of #%d %s\n", |
phi->id(), it.value()->id(), it.value()->Mnemonic()); |