Index: src/mips/regexp-macro-assembler-mips.cc |
diff --git a/src/mips/regexp-macro-assembler-mips.cc b/src/mips/regexp-macro-assembler-mips.cc |
index 330ff2b8d1e5e20a28f4e9b77e47fc47742619ba..82ea8add5bab2dc09f2301c3e4bff43e7a121058 100644 |
--- a/src/mips/regexp-macro-assembler-mips.cc |
+++ b/src/mips/regexp-macro-assembler-mips.cc |
@@ -386,7 +386,7 @@ void RegExpMacroAssemblerMIPS::CheckNotBackReferenceIgnoreCase( |
// Restore regexp engine registers. |
__ MultiPop(regexp_registers_to_retain); |
- __ li(code_pointer(), Operand(masm_->CodeObject())); |
+ __ li(code_pointer(), Operand(masm_->CodeObject()), CONSTANT_SIZE); |
__ lw(end_of_input_address(), MemOperand(frame_pointer(), kInputEnd)); |
// Check if function returned non-zero for success or zero for failure. |
@@ -698,7 +698,7 @@ Handle<HeapObject> RegExpMacroAssemblerMIPS::GetCode(Handle<String> source) { |
// Initialize backtrack stack pointer. |
__ lw(backtrack_stackpointer(), MemOperand(frame_pointer(), kStackHighEnd)); |
// Initialize code pointer register |
- __ li(code_pointer(), Operand(masm_->CodeObject())); |
+ __ li(code_pointer(), Operand(masm_->CodeObject()), CONSTANT_SIZE); |
// Load previous char as initial value of current character register. |
Label at_start; |
__ lw(a0, MemOperand(frame_pointer(), kAtStart)); |
@@ -783,7 +783,7 @@ Handle<HeapObject> RegExpMacroAssemblerMIPS::GetCode(Handle<String> source) { |
// String might have moved: Reload end of string from frame. |
__ lw(end_of_input_address(), MemOperand(frame_pointer(), kInputEnd)); |
- __ li(code_pointer(), Operand(masm_->CodeObject())); |
+ __ li(code_pointer(), Operand(masm_->CodeObject()), CONSTANT_SIZE); |
SafeReturn(); |
} |
@@ -813,7 +813,7 @@ Handle<HeapObject> RegExpMacroAssemblerMIPS::GetCode(Handle<String> source) { |
// Otherwise use return value as new stack pointer. |
__ mov(backtrack_stackpointer(), v0); |
// Restore saved registers and continue. |
- __ li(code_pointer(), Operand(masm_->CodeObject())); |
+ __ li(code_pointer(), Operand(masm_->CodeObject()), CONSTANT_SIZE); |
__ lw(end_of_input_address(), MemOperand(frame_pointer(), kInputEnd)); |
SafeReturn(); |
} |
@@ -1010,7 +1010,7 @@ void RegExpMacroAssemblerMIPS::CallCheckStackGuardState(Register scratch) { |
__ PrepareCallCFunction(num_arguments, scratch); |
__ mov(a2, frame_pointer()); |
// Code* of self. |
- __ li(a1, Operand(masm_->CodeObject())); |
+ __ li(a1, Operand(masm_->CodeObject()), CONSTANT_SIZE); |
// a0 becomes return address pointer. |
ExternalReference stack_guard_check = |
ExternalReference::re_check_stack_guard_state(masm_->isolate()); |
@@ -1229,7 +1229,7 @@ void RegExpMacroAssemblerMIPS::CallCFunctionUsingStub( |
if (OS::ActivationFrameAlignment() != 0) { |
__ lw(sp, MemOperand(sp, 16)); |
} |
- __ li(code_pointer(), Operand(masm_->CodeObject())); |
+ __ li(code_pointer(), Operand(masm_->CodeObject()), CONSTANT_SIZE); |
} |