Index: src/ic/ia32/stub-cache-ia32.cc |
diff --git a/src/ic/ia32/stub-cache-ia32.cc b/src/ic/ia32/stub-cache-ia32.cc |
index c1f7c9ad314d634f0be45fc457f79f4ff91a2e01..02e780bd0221d198380298b42824ac4b7150a857 100644 |
--- a/src/ic/ia32/stub-cache-ia32.cc |
+++ b/src/ic/ia32/stub-cache-ia32.cc |
@@ -8,6 +8,7 @@ |
#include "src/codegen.h" |
#include "src/ic/stub-cache.h" |
+#include "src/interface-descriptors.h" |
namespace v8 { |
namespace internal { |
@@ -56,6 +57,12 @@ static void ProbeTable(Isolate* isolate, MacroAssembler* masm, |
} |
#endif |
+ if (FLAG_vector_ics) { |
+ // TODO(mvstanton): fix hack. |
+ __ pop(VectorLoadICDescriptor::VectorRegister()); |
+ __ pop(VectorLoadICDescriptor::SlotRegister()); |
+ } |
+ |
if (leave_frame) __ leave(); |
// Jump to the first instruction in the code stub. |