Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 8b65b2a329a05cef3355643c575c155b5b234ee7..02d573b89cffb440d54cb07fae2a2f33738fc3ec 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -555,18 +555,17 @@ std::ostream& operator<<(std::ostream& os, const CompareNilICStub::State& s) { |
Type* CompareNilICStub::GetType(Zone* zone, Handle<Map> map) { |
State state = this->state(); |
- if (state.Contains(CompareNilICStub::GENERIC)) return Type::Any(zone); |
+ if (state.Contains(CompareNilICStub::GENERIC)) return Type::Any(); |
- Type* result = Type::None(zone); |
+ Type* result = Type::None(); |
if (state.Contains(CompareNilICStub::UNDEFINED)) { |
- result = Type::Union(result, Type::Undefined(zone), zone); |
+ result = Type::Union(result, Type::Undefined(), zone); |
} |
if (state.Contains(CompareNilICStub::NULL_TYPE)) { |
- result = Type::Union(result, Type::Null(zone), zone); |
+ result = Type::Union(result, Type::Null(), zone); |
} |
if (state.Contains(CompareNilICStub::MONOMORPHIC_MAP)) { |
- Type* type = |
- map.is_null() ? Type::Detectable(zone) : Type::Class(map, zone); |
+ Type* type = map.is_null() ? Type::Detectable() : Type::Class(map, zone); |
result = Type::Union(result, type, zone); |
} |
@@ -576,8 +575,7 @@ Type* CompareNilICStub::GetType(Zone* zone, Handle<Map> map) { |
Type* CompareNilICStub::GetInputType(Zone* zone, Handle<Map> map) { |
Type* output_type = GetType(zone, map); |
- Type* nil_type = |
- nil_value() == kNullValue ? Type::Null(zone) : Type::Undefined(zone); |
+ Type* nil_type = nil_value() == kNullValue ? Type::Null() : Type::Undefined(); |
return Type::Union(output_type, nil_type, zone); |
} |