Commit ea8e42c6 authored by verwaest@chromium.org's avatar verwaest@chromium.org

Replace nonexistent a4 by t0 on mips.

BUG=
R=ulan@chromium.org

Review URL: https://codereview.chromium.org/136093010

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19016 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 77ccf369
......@@ -3258,11 +3258,11 @@ void CallFunctionStub::Generate(MacroAssembler* masm) {
if (NeedsChecks()) {
// Do not transform the receiver for strict mode functions and natives.
__ lw(a3, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset));
__ lw(a4, FieldMemOperand(a3, SharedFunctionInfo::kCompilerHintsOffset));
__ lw(t0, FieldMemOperand(a3, SharedFunctionInfo::kCompilerHintsOffset));
int32_t strict_mode_function_mask =
1 << (SharedFunctionInfo::kStrictModeFunction + kSmiTagSize);
int32_t native_mask = 1 << (SharedFunctionInfo::kNative + kSmiTagSize);
__ And(at, a4, Operand(strict_mode_function_mask | native_mask));
__ And(at, t0, Operand(strict_mode_function_mask | native_mask));
__ Branch(&cont, ne, at, Operand(zero_reg));
}
......@@ -3271,8 +3271,8 @@ void CallFunctionStub::Generate(MacroAssembler* masm) {
if (NeedsChecks()) {
__ JumpIfSmi(a3, &wrap);
__ GetObjectType(a3, a4, a4);
__ Branch(&wrap, lt, a4, Operand(FIRST_SPEC_OBJECT_TYPE));
__ GetObjectType(a3, t0, t0);
__ Branch(&wrap, lt, t0, Operand(FIRST_SPEC_OBJECT_TYPE));
} else {
__ jmp(&wrap);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment