Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index a6da257850ab83c53706ccfe001e4c498e58b5e1..2f5ee5db1557ab5945c793faba3394a74a0084cb 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -212,31 +212,31 @@ Bounds Typer::Visitor::TypeParameter(Node* node) { |
Bounds Typer::Visitor::TypeInt32Constant(Node* node) { |
// TODO(titzer): only call Type::Of() if the type is not already known. |
- return Bounds(Type::Of(ValueOf<int32_t>(node->op()), zone())); |
+ return Bounds(Type::Of(OpParameter<int32_t>(node), zone())); |
} |
Bounds Typer::Visitor::TypeInt64Constant(Node* node) { |
// TODO(titzer): only call Type::Of() if the type is not already known. |
return Bounds( |
- Type::Of(static_cast<double>(ValueOf<int64_t>(node->op())), zone())); |
+ Type::Of(static_cast<double>(OpParameter<int64_t>(node)), zone())); |
} |
Bounds Typer::Visitor::TypeFloat64Constant(Node* node) { |
// TODO(titzer): only call Type::Of() if the type is not already known. |
- return Bounds(Type::Of(ValueOf<double>(node->op()), zone())); |
+ return Bounds(Type::Of(OpParameter<double>(node), zone())); |
} |
Bounds Typer::Visitor::TypeNumberConstant(Node* node) { |
// TODO(titzer): only call Type::Of() if the type is not already known. |
- return Bounds(Type::Of(ValueOf<double>(node->op()), zone())); |
+ return Bounds(Type::Of(OpParameter<double>(node), zone())); |
} |
Bounds Typer::Visitor::TypeHeapConstant(Node* node) { |
- return Bounds(TypeConstant(ValueOf<Handle<Object> >(node->op()))); |
+ return Bounds(TypeConstant(OpParameter<Unique<Object> >(node).handle())); |
} |