Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 018880d51f5f8b52ac018ebc2b9c136c3eb08d14..73dd247c352143afb914fab350df3f69ca50235c 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -246,18 +246,11 @@ void MacroAssembler::Push(Handle<Object> handle) { |
void MacroAssembler::Move(Register dst, Handle<Object> value) { |
- AllowDeferredHandleDereference smi_check; |
if (value->IsSmi()) { |
mov(dst, Operand(value)); |
} else { |
DCHECK(value->IsHeapObject()); |
- if (isolate()->heap()->InNewSpace(*value)) { |
- Handle<Cell> cell = isolate()->factory()->NewCell(value); |
- mov(dst, Operand(cell)); |
- ldr(dst, FieldMemOperand(dst, Cell::kValueOffset)); |
- } else { |
- mov(dst, Operand(value)); |
- } |
+ mov(dst, Operand(value)); |
} |
} |