Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index d1c24343628d6f3d37e89c9b0a66b244875544d8..238513a1a501cf5167e1e13ea982fbfcb02c9e75 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -812,27 +812,7 @@ class MacroAssembler: public Assembler { |
// Load a heap object and handle the case of new-space objects by |
// indirecting via a global cell. |
- void LoadHeapObject(Register result, Handle<HeapObject> object); |
- void CmpHeapObject(Register reg, Handle<HeapObject> object); |
- void PushHeapObject(Handle<HeapObject> object); |
- |
- void LoadObject(Register result, Handle<Object> object) { |
- AllowDeferredHandleDereference heap_object_check; |
- if (object->IsHeapObject()) { |
- LoadHeapObject(result, Handle<HeapObject>::cast(object)); |
- } else { |
- Move(result, object); |
- } |
- } |
- |
- void CmpObject(Register reg, Handle<Object> object) { |
- AllowDeferredHandleDereference heap_object_check; |
- if (object->IsHeapObject()) { |
- CmpHeapObject(reg, Handle<HeapObject>::cast(object)); |
- } else { |
- Cmp(reg, object); |
- } |
- } |
+ void MoveHeapObject(Register result, Handle<Object> object); |
// Load a global cell into a register. |
void LoadGlobalCell(Register dst, Handle<Cell> cell); |