Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index 8ffbbc5636f989a2a17f0d64568a1641302ebeed..ef492a66ea25fed1954c69c5747e36eaf2125fe3 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -2186,7 +2186,7 @@ void LCodeGen::DoCheckMaps(LCheckMaps* instr) { |
void LCodeGen::DoCheckNonSmi(LCheckNonSmi* instr) { |
- if (!instr->hydrogen()->value()->IsHeapObject()) { |
+ if (!instr->hydrogen()->value()->type().IsHeapObject()) { |
DeoptimizeIfSmi(ToRegister(instr->value()), instr->environment()); |
} |
} |
@@ -2989,7 +2989,7 @@ void LCodeGen::DoHasInstanceTypeAndBranch(LHasInstanceTypeAndBranch* instr) { |
Register input = ToRegister(instr->value()); |
Register scratch = ToRegister(instr->temp()); |
- if (!instr->hydrogen()->value()->IsHeapObject()) { |
+ if (!instr->hydrogen()->value()->type().IsHeapObject()) { |
__ JumpIfSmi(input, instr->FalseLabel(chunk_)); |
} |
__ CompareObjectType(input, scratch, scratch, TestType(instr->hydrogen())); |
@@ -3243,7 +3243,7 @@ void LCodeGen::DoIsStringAndBranch(LIsStringAndBranch* instr) { |
Register scratch = ToRegister(instr->temp()); |
SmiCheck check_needed = |
- instr->hydrogen()->value()->IsHeapObject() |
+ instr->hydrogen()->value()->type().IsHeapObject() |
? OMIT_SMI_CHECK : INLINE_SMI_CHECK; |
Condition true_cond = |
EmitIsString(val, scratch, instr->FalseLabel(chunk_), check_needed); |
@@ -3263,7 +3263,7 @@ void LCodeGen::DoIsUndetectableAndBranch(LIsUndetectableAndBranch* instr) { |
Register input = ToRegister(instr->value()); |
Register temp = ToRegister(instr->temp()); |
- if (!instr->hydrogen()->value()->IsHeapObject()) { |
+ if (!instr->hydrogen()->value()->type().IsHeapObject()) { |
__ JumpIfSmi(input, instr->FalseLabel(chunk_)); |
} |
__ Ldr(temp, FieldMemOperand(input, HeapObject::kMapOffset)); |
@@ -5090,7 +5090,7 @@ void LCodeGen::DoStoreContextSlot(LStoreContextSlot* instr) { |
__ Str(value, target); |
if (instr->hydrogen()->NeedsWriteBarrier()) { |
SmiCheck check_needed = |
- instr->hydrogen()->value()->IsHeapObject() |
+ instr->hydrogen()->value()->type().IsHeapObject() |
? OMIT_SMI_CHECK : INLINE_SMI_CHECK; |
__ RecordWriteContextSlot(context, |
target.offset(), |
@@ -5284,7 +5284,7 @@ void LCodeGen::DoStoreKeyedFixed(LStoreKeyedFixed* instr) { |
// This assignment may cause element_addr to alias store_base. |
Register element_addr = scratch; |
SmiCheck check_needed = |
- instr->hydrogen()->value()->IsHeapObject() |
+ instr->hydrogen()->value()->type().IsHeapObject() |
? OMIT_SMI_CHECK : INLINE_SMI_CHECK; |
// Compute address of modified element and store it into key register. |
__ Add(element_addr, mem_op.base(), mem_op.OffsetAsOperand()); |