Index: src/compiler/operation-typer.cc |
diff --git a/src/compiler/operation-typer.cc b/src/compiler/operation-typer.cc |
index ca693d1ae8b0826370a9be64d9fd6f897e2fac06..0cdb6d1031f0cefad000682a7479dd69b40bfbc1 100644 |
--- a/src/compiler/operation-typer.cc |
+++ b/src/compiler/operation-typer.cc |
@@ -19,14 +19,14 @@ namespace compiler { |
OperationTyper::OperationTyper(Isolate* isolate, Zone* zone) |
: zone_(zone), cache_(TypeCache::Get()) { |
Factory* factory = isolate->factory(); |
- infinity_ = Type::Constant(factory->infinity_value(), zone); |
- minus_infinity_ = Type::Constant(factory->minus_infinity_value(), zone); |
+ infinity_ = Type::NewConstant(factory->infinity_value(), zone); |
+ minus_infinity_ = Type::NewConstant(factory->minus_infinity_value(), zone); |
Type* truncating_to_zero = Type::MinusZeroOrNaN(); |
DCHECK(!truncating_to_zero->Maybe(Type::Integral32())); |
- singleton_false_ = Type::Constant(factory->false_value(), zone); |
- singleton_true_ = Type::Constant(factory->true_value(), zone); |
- singleton_the_hole_ = Type::Constant(factory->the_hole_value(), zone); |
+ singleton_false_ = Type::HeapConstant(factory->false_value(), zone); |
+ singleton_true_ = Type::HeapConstant(factory->true_value(), zone); |
+ singleton_the_hole_ = Type::HeapConstant(factory->the_hole_value(), zone); |
signed32ish_ = Type::Union(Type::Signed32(), truncating_to_zero, zone); |
unsigned32ish_ = Type::Union(Type::Unsigned32(), truncating_to_zero, zone); |
} |