| 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..c2b3e416d62296f61ef30f48b417191b9deb13b3 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 computeTypeMask;
|
| 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));
|
| + computeTypeMask(compiler, constantSystem.createDouble(node.value)));
|
| }
|
|
|
| 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));
|
| + computeTypeMask(compiler, constantSystem.createInt(node.value)));
|
| }
|
|
|
| T visitLiteralList(LiteralList node) {
|
|
|