| Index: src/mips/full-codegen-mips.cc
|
| diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
|
| index eac2328666f436e7073779e1082adc0e3b01cf17..d44caa8abf478c7a1fc50686acad59eeaa2dc7d1 100644
|
| --- a/src/mips/full-codegen-mips.cc
|
| +++ b/src/mips/full-codegen-mips.cc
|
| @@ -157,7 +157,6 @@ void FullCodeGenerator::Generate() {
|
| // object).
|
| if (info->is_classic_mode() && !info->is_native()) {
|
| Label ok;
|
| - __ Branch(&ok, eq, t1, Operand(zero_reg));
|
| int receiver_offset = info->scope()->num_parameters() * kPointerSize;
|
| __ lw(at, MemOperand(sp, receiver_offset));
|
| __ LoadRoot(a2, Heap::kUndefinedValueRootIndex);
|
| @@ -3801,8 +3800,7 @@ void FullCodeGenerator::EmitCallFunction(CallRuntime* expr) {
|
| // InvokeFunction requires the function in a1. Move it in there.
|
| __ mov(a1, result_register());
|
| ParameterCount count(arg_count);
|
| - __ InvokeFunction(a1, count, CALL_FUNCTION,
|
| - NullCallWrapper(), CALL_AS_FUNCTION);
|
| + __ InvokeFunction(a1, count, CALL_FUNCTION, NullCallWrapper());
|
| __ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset));
|
| __ jmp(&done);
|
|
|
|
|