Index: src/s390/macro-assembler-s390.cc |
diff --git a/src/s390/macro-assembler-s390.cc b/src/s390/macro-assembler-s390.cc |
index ca48614cc4190d443163de00a790b2227a67ec42..0b5bbb4d1a23409bb50bf94da92de26f7aa035eb 100644 |
--- a/src/s390/macro-assembler-s390.cc |
+++ b/src/s390/macro-assembler-s390.cc |
@@ -170,19 +170,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)); |
} |
void MacroAssembler::Move(Register dst, Register src, Condition cond) { |