Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index d8df4cda5cfcb4bdf2b5f37ff6a4626ae5de4352..ce5ca09867010f0045538cb7e3da92bb19a49910 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -240,19 +240,7 @@ 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)); |
} |