Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 8c4f24e8fb465680beaf3d0a1bd1deb102cb676f..c3de9a7f1ecffe85ffdfee9f4090d756e2009dab 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -179,12 +179,9 @@ template<int R> |
bool LTemplateResultInstruction<R>::MustSignExtendResult( |
LPlatformChunk* chunk) const { |
HValue* hvalue = this->hydrogen_value(); |
- |
- if (hvalue == NULL) return false; |
- if (!hvalue->representation().IsInteger32()) return false; |
- if (hvalue->HasRange() && !hvalue->range()->CanBeNegative()) return false; |
- |
- return chunk->GetDehoistedKeyIds()->Contains(hvalue->id()); |
+ return hvalue != NULL && |
+ hvalue->representation().IsInteger32() && |
+ chunk->GetDehoistedKeyIds()->Contains(hvalue->id()); |
} |