Index: src/ic/x87/handler-compiler-x87.cc |
diff --git a/src/ic/x87/handler-compiler-x87.cc b/src/ic/x87/handler-compiler-x87.cc |
index e9c8e4f713f19487f809d89e9e4f6a99ee79a7bc..32ca19155533993c3dd5a00262b34bb8c52fe5f9 100644 |
--- a/src/ic/x87/handler-compiler-x87.cc |
+++ b/src/ic/x87/handler-compiler-x87.cc |
@@ -130,10 +130,9 @@ void NamedLoadHandlerCompiler::GenerateDirectLoadGlobalFunctionPrototype( |
void NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype( |
MacroAssembler* masm, Register receiver, Register scratch1, |
Register scratch2, Label* miss_label) { |
- DCHECK(!FLAG_vector_ics); |
- __ TryGetFunctionPrototype(receiver, scratch1, scratch2, miss_label); |
- __ mov(eax, scratch1); |
- __ ret(0); |
+ // TODO(mvstanton): This isn't used on ia32. Move all the other |
+ // platform implementations into a code stub so this method can be removed. |
+ UNREACHABLE(); |
} |