Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 525944a3db2e42a4f4cbd6a15f4a58917dc9e220..c2d602be656b681fe9a9333fbf604a62afbc49d6 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -2398,7 +2398,7 @@ void LCodeGen::DoIsStringAndBranch(LIsStringAndBranch* instr) { |
Register temp = 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( |
@@ -2420,7 +2420,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()) { |
STATIC_ASSERT(kSmiTag == 0); |
__ JumpIfSmi(input, instr->FalseLabel(chunk_)); |
} |
@@ -2488,7 +2488,7 @@ void LCodeGen::DoHasInstanceTypeAndBranch(LHasInstanceTypeAndBranch* 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_)); |
} |
@@ -2894,7 +2894,7 @@ void LCodeGen::DoStoreContextSlot(LStoreContextSlot* instr) { |
__ mov(target, value); |
if (instr->hydrogen()->NeedsWriteBarrier()) { |
SmiCheck check_needed = |
- instr->hydrogen()->value()->IsHeapObject() |
+ instr->hydrogen()->value()->type().IsHeapObject() |
? OMIT_SMI_CHECK : INLINE_SMI_CHECK; |
Register temp = ToRegister(instr->temp()); |
int offset = Context::SlotOffset(instr->slot_index()); |
@@ -4210,7 +4210,7 @@ void LCodeGen::DoStoreKeyedFixedArray(LStoreKeyed* instr) { |
Register value = ToRegister(instr->value()); |
ASSERT(!instr->key()->IsConstantOperand()); |
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. |
__ lea(key, operand); |
@@ -4861,7 +4861,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(); |
__ test(ToOperand(input), Immediate(kSmiTagMask)); |
DeoptimizeIf(zero, instr->environment()); |