Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index 0805bb967073ca3801113707e2936b97017c5e9b..0d232e4a58d08694982dcb5d20cebfa0f5c03683 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -293,17 +293,6 @@ class MacroAssembler: public Assembler { |
Heap::RootListIndex index, |
Condition cond, Register src1, const Operand& src2); |
- void LoadHeapObject(Register dst, Handle<HeapObject> object); |
- |
- void LoadObject(Register result, Handle<Object> object) { |
- AllowDeferredHandleDereference heap_object_check; |
- if (object->IsHeapObject()) { |
- LoadHeapObject(result, Handle<HeapObject>::cast(object)); |
- } else { |
- li(result, object); |
- } |
- } |
- |
// --------------------------------------------------------------------------- |
// GC Support |
@@ -620,10 +609,7 @@ class MacroAssembler: public Assembler { |
inline void li(Register rd, int32_t j, LiFlags mode = OPTIMIZE_SIZE) { |
li(rd, Operand(j), mode); |
} |
- inline void li(Register dst, Handle<Object> value, |
- LiFlags mode = OPTIMIZE_SIZE) { |
- li(dst, Operand(value), mode); |
- } |
+ void li(Register dst, Handle<Object> value, LiFlags mode = OPTIMIZE_SIZE); |
// Push multiple registers on the stack. |
// Registers are saved in numerical order, with higher numbered registers |