Index: src/ic/ic-state.h |
diff --git a/src/ic/ic-state.h b/src/ic/ic-state.h |
index 6888a7ab5c9c19d5a75303974e0c937773e41892..437b4f55b5cc728b17694d74e64a44ec4ecf3436 100644 |
--- a/src/ic/ic-state.h |
+++ b/src/ic/ic-state.h |
@@ -120,9 +120,9 @@ class BinaryOpICState final BASE_EMBEDDED { |
Token::Value op() const { return op_; } |
Maybe<int> fixed_right_arg() const { return fixed_right_arg_; } |
- Type* GetLeftType() const { return KindToType(left_kind_); } |
- Type* GetRightType() const { return KindToType(right_kind_); } |
- Type* GetResultType() const; |
+ AstType* GetLeftType() const { return KindToType(left_kind_); } |
+ AstType* GetRightType() const { return KindToType(right_kind_); } |
+ AstType* GetResultType() const; |
void Update(Handle<Object> left, Handle<Object> right, Handle<Object> result); |
@@ -140,7 +140,7 @@ class BinaryOpICState final BASE_EMBEDDED { |
Kind UpdateKind(Handle<Object> object, Kind kind) const; |
static const char* KindToString(Kind kind); |
- static Type* KindToType(Kind kind); |
+ static AstType* KindToType(Kind kind); |
static bool KindMaybeSmi(Kind kind) { |
return (kind >= SMI && kind <= NUMBER) || kind == GENERIC; |
} |
@@ -202,8 +202,8 @@ class CompareICState { |
GENERIC |
}; |
- static Type* StateToType(Zone* zone, State state, |
- Handle<Map> map = Handle<Map>()); |
+ static AstType* StateToType(Zone* zone, State state, |
+ Handle<Map> map = Handle<Map>()); |
static State NewInputState(State old_state, Handle<Object> value); |