Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 52c01d8942ebf4a4fcbefd581a8a98c382e3617b..717dc73ab7989bbb6daf5164f321d01c65ba5c16 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -462,23 +462,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 |