Index: src/ic/ia32/handler-compiler-ia32.cc |
diff --git a/src/ic/ia32/handler-compiler-ia32.cc b/src/ic/ia32/handler-compiler-ia32.cc |
index 8a7c2bdb8794f81607b9694c7599c500a6b6cd57..d2257ef44693ffb572201c45dc8bad8af99ae25b 100644 |
--- a/src/ic/ia32/handler-compiler-ia32.cc |
+++ b/src/ic/ia32/handler-compiler-ia32.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(); |
} |