Index: src/mips/lithium-gap-resolver-mips.cc |
diff --git a/src/mips/lithium-gap-resolver-mips.cc b/src/mips/lithium-gap-resolver-mips.cc |
index 460e13bf0a9f1f4a29b9d05b2dc742a9bd9bc1d2..3ee74866c753a7359686e2930987947283cc5177 100644 |
--- a/src/mips/lithium-gap-resolver-mips.cc |
+++ b/src/mips/lithium-gap-resolver-mips.cc |
@@ -256,7 +256,7 @@ void LGapResolver::EmitMove(int index) { |
if (cgen_->IsInteger32(constant_source)) { |
__ li(dst, Operand(cgen_->ToRepresentation(constant_source, r))); |
} else { |
- __ LoadObject(dst, cgen_->ToHandle(constant_source)); |
+ __ li(dst, cgen_->ToHandle(constant_source)); |
} |
} else if (destination->IsDoubleRegister()) { |
DoubleRegister result = cgen_->ToDoubleRegister(destination); |
@@ -271,8 +271,7 @@ void LGapResolver::EmitMove(int index) { |
__ li(kLithiumScratchReg, |
Operand(cgen_->ToRepresentation(constant_source, r))); |
} else { |
- __ LoadObject(kLithiumScratchReg, |
- cgen_->ToHandle(constant_source)); |
+ __ li(kLithiumScratchReg, cgen_->ToHandle(constant_source)); |
} |
__ sw(kLithiumScratchReg, cgen_->ToMemOperand(destination)); |
} |