Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index ea5ef9f3af7b1736b51cfcda0533a41f787bd799..e82e6e8da9b8f8ad63817e11f8cf7e4ecae7da07 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()); |
} |