| Index: src/compiler/x87/code-generator-x87.cc
|
| diff --git a/src/compiler/x87/code-generator-x87.cc b/src/compiler/x87/code-generator-x87.cc
|
| index 1064e622eb8f05d39c0525462083fc6e13b89ed2..29e2dd73832027f2ba950a935d5913c1677244e2 100644
|
| --- a/src/compiler/x87/code-generator-x87.cc
|
| +++ b/src/compiler/x87/code-generator-x87.cc
|
| @@ -2520,18 +2520,7 @@ void CodeGenerator::AssembleMove(InstructionOperand* source,
|
| Constant src_constant = g.ToConstant(source);
|
| if (src_constant.type() == Constant::kHeapObject) {
|
| Handle<HeapObject> src = src_constant.ToHeapObject();
|
| - int slot;
|
| - if (IsMaterializableFromFrame(src, &slot)) {
|
| - if (destination->IsRegister()) {
|
| - Register dst = g.ToRegister(destination);
|
| - __ mov(dst, g.SlotToOperand(slot));
|
| - } else {
|
| - DCHECK(destination->IsStackSlot());
|
| - Operand dst = g.ToOperand(destination);
|
| - __ push(g.SlotToOperand(slot));
|
| - __ pop(dst);
|
| - }
|
| - } else if (destination->IsRegister()) {
|
| + if (destination->IsRegister()) {
|
| Register dst = g.ToRegister(destination);
|
| __ LoadHeapObject(dst, src);
|
| } else {
|
|
|