| Index: src/compiler/ppc/code-generator-ppc.cc
|
| diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc
|
| index eb907c351261c78b154c5bd89e5d79ccf92196ee..b2c3f06674acff40f346cc39164d3f9b2a810884 100644
|
| --- a/src/compiler/ppc/code-generator-ppc.cc
|
| +++ b/src/compiler/ppc/code-generator-ppc.cc
|
| @@ -2274,10 +2274,7 @@ void CodeGenerator::AssembleMove(InstructionOperand* source,
|
| case Constant::kHeapObject: {
|
| Handle<HeapObject> src_object = src.ToHeapObject();
|
| Heap::RootListIndex index;
|
| - int slot;
|
| - if (IsMaterializableFromFrame(src_object, &slot)) {
|
| - __ LoadP(dst, g.SlotToMemOperand(slot));
|
| - } else if (IsMaterializableFromRoot(src_object, &index)) {
|
| + if (IsMaterializableFromRoot(src_object, &index)) {
|
| __ LoadRoot(dst, index);
|
| } else {
|
| __ Move(dst, src_object);
|
|
|