Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index 20cc44d3535402373f3793953f01eac167d1f88f..e9f7837eab5642c420be4a36636ec97e58169a3b 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -5631,22 +5631,20 @@ void LCodeGen::DoDeferredTaggedToI(LTaggedToI* instr, |
Register output = ToRegister32(instr->result()); |
DoubleRegister dbl_scratch2 = ToDoubleRegister(temp2); |
- __ RecordComment("Deferred TaggedToI: not a heap number"); |
- DeoptimizeIfNotRoot(scratch1, Heap::kHeapNumberMapRootIndex, instr); |
+ DeoptimizeIfNotRoot(scratch1, Heap::kHeapNumberMapRootIndex, instr, |
+ "not a heap number"); |
// A heap number: load value and convert to int32 using non-truncating |
// function. If the result is out of range, branch to deoptimize. |
__ Ldr(dbl_scratch1, FieldMemOperand(input, HeapNumber::kValueOffset)); |
__ TryRepresentDoubleAsInt32(output, dbl_scratch1, dbl_scratch2); |
- __ RecordComment("Deferred TaggedToI: lost precision or NaN"); |
- DeoptimizeIf(ne, instr); |
+ DeoptimizeIf(ne, instr, "lost precision or NaN"); |
if (instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero)) { |
__ Cmp(output, 0); |
__ B(ne, &done); |
__ Fmov(scratch1, dbl_scratch1); |
- __ RecordComment("Deferred TaggedToI: minus zero"); |
- DeoptimizeIfNegative(scratch1, instr); |
+ DeoptimizeIfNegative(scratch1, instr, "minus zero"); |
} |
} |
__ Bind(&done); |