Index: src/ic/ic.h |
diff --git a/src/ic/ic.h b/src/ic/ic.h |
index d51309cffee853dbeba06d761bd3012d1e61a607..6f2a36b387a52639d4ce48dd12720e4c7258d225 100644 |
--- a/src/ic/ic.h |
+++ b/src/ic/ic.h |
@@ -7,6 +7,7 @@ |
#include "src/ic/ic-state.h" |
#include "src/macro-assembler.h" |
+#include "src/messages.h" |
namespace v8 { |
namespace internal { |
@@ -162,8 +163,8 @@ class IC { |
void TraceIC(const char* type, Handle<Object> name, State old_state, |
State new_state); |
- MaybeHandle<Object> TypeError(const char* type, Handle<Object> object, |
- Handle<Object> key); |
+ MaybeHandle<Object> TypeError(MessageTemplate::Template, |
+ Handle<Object> object, Handle<Object> key); |
MaybeHandle<Object> ReferenceError(Handle<Name> name); |
// Access the target code for the given IC address. |