| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index a44c1026584cf3bcd1efcaf921ee6f4150133fa8..382ac38c3c9d0abda70dcab897864b8859cb7b07 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -1939,20 +1939,11 @@ void InstanceofStub::Generate(MacroAssembler* masm) {
|
| void FunctionPrototypeStub::Generate(MacroAssembler* masm) {
|
| Label miss;
|
| Register receiver = LoadIC::ReceiverRegister();
|
| - Register name = LoadIC::NameRegister();
|
| -
|
| - ASSERT(kind() == Code::LOAD_IC ||
|
| - kind() == Code::KEYED_LOAD_IC);
|
| -
|
| - if (kind() == Code::KEYED_LOAD_IC) {
|
| - __ Branch(&miss, ne, name,
|
| - Operand(isolate()->factory()->prototype_string()));
|
| - }
|
| -
|
| - StubCompiler::GenerateLoadFunctionPrototype(masm, receiver, a3, t0, &miss);
|
| + NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, a3,
|
| + t0, &miss);
|
| __ bind(&miss);
|
| - StubCompiler::TailCallBuiltin(
|
| - masm, BaseLoadStoreStubCompiler::MissBuiltin(kind()));
|
| + PropertyAccessCompiler::TailCallBuiltin(
|
| + masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC));
|
| }
|
|
|
|
|
|
|