Index: src/x87/code-stubs-x87.cc |
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc |
index aee0f743c01d481ce51d0403591146657ff50c0d..86734282dd3c83ea5325a123505c216f148e990a 100644 |
--- a/src/x87/code-stubs-x87.cc |
+++ b/src/x87/code-stubs-x87.cc |
@@ -281,24 +281,6 @@ void MathPowStub::Generate(MacroAssembler* masm) { |
__ ret(0); |
} |
- |
-void FunctionPrototypeStub::Generate(MacroAssembler* masm) { |
- Label miss; |
- Register receiver = LoadDescriptor::ReceiverRegister(); |
- // With careful management, we won't have to save slot and vector on |
- // the stack. Simply handle the possibly missing case first. |
- // TODO(mvstanton): this code can be more efficient. |
- __ cmp(FieldOperand(receiver, JSFunction::kPrototypeOrInitialMapOffset), |
- Immediate(isolate()->factory()->the_hole_value())); |
- __ j(equal, &miss); |
- __ TryGetFunctionPrototype(receiver, eax, ebx, &miss); |
- __ ret(0); |
- |
- __ bind(&miss); |
- PropertyAccessCompiler::TailCallBuiltin( |
- masm, PropertyAccessCompiler::MissBuiltin(Code::LOAD_IC)); |
-} |
- |
void RegExpExecStub::Generate(MacroAssembler* masm) { |
// Just jump directly to runtime if native RegExp is not selected at compile |
// time or if regexp entry in generated code is turned off runtime switch or |