Index: src/ic/ic-state.h |
diff --git a/src/ic/ic-state.h b/src/ic/ic-state.h |
index ebc686b7383bab3b6f2cba261b2038b2cb9e8405..bb1d7dc2f4e396cba4d7b86c29e641e54fa7b9ef 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(Zone* zone) const { return KindToType(left_kind_, zone); } |
- Type* GetRightType(Zone* zone) const { return KindToType(right_kind_, zone); } |
- Type* GetResultType(Zone* zone) const; |
+ Type* GetLeftType() const { return KindToType(left_kind_); } |
+ Type* GetRightType() const { return KindToType(right_kind_); } |
+ Type* GetResultType() const; |
void Update(Handle<Object> left, Handle<Object> right, Handle<Object> result); |
@@ -136,7 +136,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, Zone* zone); |
+ static Type* KindToType(Kind kind); |
static bool KindMaybeSmi(Kind kind) { |
return (kind >= SMI && kind <= NUMBER) || kind == GENERIC; |
} |