| Index: src/compiler/ia32/code-generator-ia32.cc
|
| diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc
|
| index d4afd3789f7616851203bc72d0cd249430896dae..ad1a9922dc4b516465589666a139f619d18b3d46 100644
|
| --- a/src/compiler/ia32/code-generator-ia32.cc
|
| +++ b/src/compiler/ia32/code-generator-ia32.cc
|
| @@ -2040,18 +2040,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 {
|
|
|