Index: src/arm/lithium-codegen-arm.cc |
=================================================================== |
--- src/arm/lithium-codegen-arm.cc (revision 6268) |
+++ src/arm/lithium-codegen-arm.cc (working copy) |
@@ -1082,7 +1082,7 @@ |
// Test the double value. Zero and NaN are false. |
__ VFPCompareAndLoadFlags(reg, 0.0, scratch); |
- __ tst(scratch, Operand(kVFPZConditionFlagBit | kVFPInvalidExceptionBit)); |
+ __ tst(scratch, Operand(kVFPZConditionFlagBit | kVFPVConditionFlagBit)); |
EmitBranch(true_block, false_block, ne); |
} else { |
ASSERT(r.IsTagged()); |
@@ -1120,7 +1120,7 @@ |
__ sub(ip, reg, Operand(kHeapObjectTag)); |
__ vldr(dbl_scratch, ip, HeapNumber::kValueOffset); |
__ VFPCompareAndLoadFlags(dbl_scratch, 0.0, scratch); |
- __ tst(scratch, Operand(kVFPZConditionFlagBit | kVFPInvalidExceptionBit)); |
+ __ tst(scratch, Operand(kVFPZConditionFlagBit | kVFPVConditionFlagBit)); |
__ b(ne, false_label); |
__ b(true_label); |