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

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

Issue 1655833002: Remove the template magic from types.(h|cc), remove types-inl.h. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Undo whitespace change Created 4 years, 11 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/crankshaft/typing.cc ('k') | src/interface-descriptors.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic-state.cc
diff --git a/src/ic/ic-state.cc b/src/ic/ic-state.cc
index 4bdaf3ff03608c9654dbb61e199b5222c1365460..06e3dbee1b0a03546b95b49c52ea23b88e837941 100644
--- a/src/ic/ic-state.cc
+++ b/src/ic/ic-state.cc
@@ -371,25 +371,25 @@ const char* CompareICState::GetStateName(State state) {
Type* CompareICState::StateToType(Zone* zone, State state, Handle<Map> map) {
switch (state) {
case UNINITIALIZED:
- return Type::None(zone);
+ return Type::None();
case BOOLEAN:
- return Type::Boolean(zone);
+ return Type::Boolean();
case SMI:
- return Type::SignedSmall(zone);
+ return Type::SignedSmall();
case NUMBER:
- return Type::Number(zone);
+ return Type::Number();
case STRING:
- return Type::String(zone);
+ return Type::String();
case INTERNALIZED_STRING:
- return Type::InternalizedString(zone);
+ return Type::InternalizedString();
case UNIQUE_NAME:
- return Type::UniqueName(zone);
+ return Type::UniqueName();
case RECEIVER:
- return Type::Receiver(zone);
+ return Type::Receiver();
case KNOWN_RECEIVER:
- return map.is_null() ? Type::Receiver(zone) : Type::Class(map, zone);
+ return map.is_null() ? Type::Receiver() : Type::Class(map, zone);
case GENERIC:
- return Type::Any(zone);
+ return Type::Any();
}
UNREACHABLE();
return NULL;
« no previous file with comments | « src/crankshaft/typing.cc ('k') | src/interface-descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698