| Index: src/x87/lithium-codegen-x87.cc
|
| diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc
|
| index 975226bdaa72a5f84422df9812b3b6651abcb1e0..c15e5225b5cff4647ade8e4a143b29179ec7b0bf 100644
|
| --- a/src/x87/lithium-codegen-x87.cc
|
| +++ b/src/x87/lithium-codegen-x87.cc
|
| @@ -2533,7 +2533,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(
|
| @@ -2555,7 +2555,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_));
|
| }
|
| @@ -2623,7 +2623,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_));
|
| }
|
|
|
| @@ -3029,7 +3029,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());
|
| @@ -4147,7 +4147,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);
|
| @@ -4828,7 +4828,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());
|
|
|