Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 5f249c29054db0ba93772dbf902faf6236b5cdcf..b342bf44b63c73570b60f929f5018f710c1303c6 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -2528,7 +2528,7 @@ void LCodeGen::DoIsStringAndBranch(LIsStringAndBranch* instr) { |
Register temp1 = 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(reg, temp1, instr->FalseLabel(chunk_), check_needed); |
@@ -2548,7 +2548,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)); |
@@ -2617,7 +2617,7 @@ void LCodeGen::DoHasInstanceTypeAndBranch(LHasInstanceTypeAndBranch* instr) { |
Register scratch = scratch0(); |
Register input = ToRegister(instr->value()); |
- if (!instr->hydrogen()->value()->IsHeapObject()) { |
+ if (!instr->hydrogen()->value()->type().IsHeapObject()) { |
__ JumpIfSmi(input, instr->FalseLabel(chunk_)); |
} |
@@ -3019,7 +3019,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(), |
@@ -4325,7 +4325,7 @@ void LCodeGen::DoStoreKeyedFixedArray(LStoreKeyed* instr) { |
if (instr->hydrogen()->NeedsWriteBarrier()) { |
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(key, store_base, Operand(offset)); |
@@ -5022,7 +5022,7 @@ void LCodeGen::DoCheckSmi(LCheckSmi* instr) { |
void LCodeGen::DoCheckNonSmi(LCheckNonSmi* instr) { |
- if (!instr->hydrogen()->value()->IsHeapObject()) { |
+ if (!instr->hydrogen()->value()->type().IsHeapObject()) { |
LOperand* input = instr->value(); |
__ SmiTst(ToRegister(input)); |
DeoptimizeIf(eq, instr->environment()); |