Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index bda6541704db191b5ec8d7ff42951597bfcaaa40..8e55bc670221f254ff990cff19a28f7a8b84cba5 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -189,19 +189,7 @@ void MacroAssembler::Push(Handle<Object> handle) { |
void MacroAssembler::Move(Register dst, Handle<Object> value) { |
- AllowDeferredHandleDereference smi_check; |
- if (value->IsSmi()) { |
- LoadSmiLiteral(dst, reinterpret_cast<Smi*>(*value)); |
- } else { |
- DCHECK(value->IsHeapObject()); |
- if (isolate()->heap()->InNewSpace(*value)) { |
- Handle<Cell> cell = isolate()->factory()->NewCell(value); |
- mov(dst, Operand(cell)); |
- LoadP(dst, FieldMemOperand(dst, Cell::kValueOffset)); |
- } else { |
- mov(dst, Operand(value)); |
- } |
- } |
+ mov(dst, Operand(value)); |
} |