Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Unified Diff: src/ic/ic-state.h

Issue 2302283002: Forking the type system between Crankshaft & Turbofan. (Closed)
Patch Set: Nits. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/field-type.cc ('k') | src/ic/ic-state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/field-type.cc ('k') | src/ic/ic-state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698