Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index fc7d0fdb6a2ae8fcb166d56e4097f87df7429445..a73d6a2d87dfef7016436f8391672da638103ceb 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -388,7 +388,7 @@ Register LCodeGen::EmitLoadRegister(LOperand* op, Register scratch) { |
Abort(kEmitLoadRegisterUnsupportedDoubleImmediate); |
} else { |
ASSERT(r.IsSmiOrTagged()); |
- __ LoadObject(scratch, literal); |
+ __ Move(scratch, literal); |
} |
return scratch; |
} else if (op->IsStackSlot() || op->IsArgument()) { |
@@ -704,7 +704,7 @@ void LCodeGen::LoadContextFromDeferred(LOperand* context) { |
} else if (context->IsConstantOperand()) { |
HConstant* constant = |
chunk_->LookupConstant(LConstantOperand::cast(context)); |
- __ LoadObject(cp, Handle<Object>::cast(constant->handle(isolate()))); |
+ __ Move(cp, Handle<Object>::cast(constant->handle(isolate()))); |
} else { |
UNREACHABLE(); |
} |
@@ -1840,7 +1840,7 @@ void LCodeGen::DoConstantE(LConstantE* instr) { |
void LCodeGen::DoConstantT(LConstantT* instr) { |
Handle<Object> value = instr->value(isolate()); |
AllowDeferredHandleDereference smi_check; |
- __ LoadObject(ToRegister(instr->result()), value); |
+ __ Move(ToRegister(instr->result()), value); |
} |
@@ -2797,7 +2797,7 @@ void LCodeGen::DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
// offset to the location of the map check. |
Register temp = ToRegister(instr->temp()); |
ASSERT(temp.is(r4)); |
- __ LoadHeapObject(InstanceofStub::right(), instr->function()); |
+ __ Move(InstanceofStub::right(), instr->function()); |
static const int kAdditionalDelta = 5; |
// Make sure that code size is predicable, since we use specific constants |
// offsets in the code to find embedded values.. |
@@ -3537,7 +3537,7 @@ void LCodeGen::DoOuterContext(LOuterContext* instr) { |
void LCodeGen::DoDeclareGlobals(LDeclareGlobals* instr) { |
ASSERT(ToRegister(instr->context()).is(cp)); |
__ push(cp); // The context is the first argument. |
- __ LoadHeapObject(scratch0(), instr->hydrogen()->pairs()); |
+ __ Move(scratch0(), instr->hydrogen()->pairs()); |
__ push(scratch0()); |
__ mov(scratch0(), Operand(Smi::FromInt(instr->hydrogen()->flags()))); |
__ push(scratch0()); |
@@ -3574,7 +3574,7 @@ void LCodeGen::CallKnownFunction(Handle<JSFunction> function, |
if (can_invoke_directly) { |
if (r1_state == R1_UNINITIALIZED) { |
- __ LoadHeapObject(r1, function); |
+ __ Move(r1, function); |
} |
// Change context. |
@@ -5421,7 +5421,7 @@ void LCodeGen::DoRegExpLiteral(LRegExpLiteral* instr) { |
// r2-5 are used as temporaries. |
int literal_offset = |
FixedArray::OffsetOfElementAt(instr->hydrogen()->literal_index()); |
- __ LoadHeapObject(r6, instr->hydrogen()->literals()); |
+ __ Move(r6, instr->hydrogen()->literals()); |
__ ldr(r1, FieldMemOperand(r6, literal_offset)); |
__ LoadRoot(ip, Heap::kUndefinedValueRootIndex); |
__ cmp(r1, ip); |