Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 0357cc304ae731ad5eb85db5a3dab84aa8295649..51bf3e09b1658c5a3c4832a7ede5deba06d870c5 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -4978,26 +4978,22 @@ void LCodeGen::DoDeferredTaggedToI(LTaggedToI* instr) { |
__ bind(&check_false); |
__ LoadRoot(ip, Heap::kFalseValueRootIndex); |
__ cmp(scratch2, Operand(ip)); |
- __ RecordComment("Deferred TaggedToI: cannot truncate"); |
- DeoptimizeIf(ne, instr); |
+ DeoptimizeIf(ne, instr, "cannot truncate"); |
__ mov(input_reg, Operand::Zero()); |
} else { |
- __ RecordComment("Deferred TaggedToI: not a heap number"); |
- DeoptimizeIf(ne, instr); |
+ DeoptimizeIf(ne, instr, "not a heap number"); |
__ sub(ip, scratch2, Operand(kHeapObjectTag)); |
__ vldr(double_scratch2, ip, HeapNumber::kValueOffset); |
__ TryDoubleToInt32Exact(input_reg, double_scratch2, double_scratch); |
- __ RecordComment("Deferred TaggedToI: lost precision or NaN"); |
- DeoptimizeIf(ne, instr); |
+ DeoptimizeIf(ne, instr, "lost precision or NaN"); |
if (instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero)) { |
__ cmp(input_reg, Operand::Zero()); |
__ b(ne, &done); |
__ VmovHigh(scratch1, double_scratch2); |
__ tst(scratch1, Operand(HeapNumber::kSignMask)); |
- __ RecordComment("Deferred TaggedToI: minus zero"); |
- DeoptimizeIf(ne, instr); |
+ DeoptimizeIf(ne, instr, "minus zero"); |
} |
} |
__ bind(&done); |