Chromium Code Reviews| Index: pkg/compiler/lib/src/inferrer/inferrer_visitor.dart |
| diff --git a/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart b/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart |
| index 65ea6bc8cf39868dea103e4205248cd2572b5089..bfc79e7e50ae3a6b7dc83d9bdf21407521e3bcdf 100644 |
| --- a/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart |
| +++ b/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart |
| @@ -11,6 +11,7 @@ import '../tree/tree.dart'; |
| import '../universe/universe.dart'; |
| import '../util/util.dart'; |
| import '../types/types.dart' show TypeMask; |
| +import '../types/constants.dart' show COMPUTE_TYPE_MASK; |
| import 'dart:collection' show IterableMixin; |
| /** |
| @@ -750,7 +751,7 @@ abstract class InferrerVisitor |
| // The JavaScript backend may turn this literal into an integer at |
| // runtime. |
| return types.getConcreteTypeFor( |
| - constantSystem.createDouble(node.value).computeMask(compiler)); |
| + constantSystem.createDouble(node.value).accept(COMPUTE_TYPE_MASK, compiler)); |
|
karlklose
2014/12/05 08:47:30
Lone line (also below).
|
| } |
| T visitLiteralInt(LiteralInt node) { |
| @@ -758,7 +759,7 @@ abstract class InferrerVisitor |
| // The JavaScript backend may turn this literal into a double at |
| // runtime. |
| return types.getConcreteTypeFor( |
| - constantSystem.createInt(node.value).computeMask(compiler)); |
| + constantSystem.createInt(node.value).accept(COMPUTE_TYPE_MASK, compiler)); |
| } |
| T visitLiteralList(LiteralList node) { |