| Index: pkg/compiler/lib/src/ssa/codegen.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart
|
| index 4032c0a5f8ffa390763884d4131865fd197f0b1c..a3fc43c35d1f34f39e55ddb8d88b1f45f25bd0b2 100644
|
| --- a/pkg/compiler/lib/src/ssa/codegen.dart
|
| +++ b/pkg/compiler/lib/src/ssa/codegen.dart
|
| @@ -1960,7 +1960,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
|
|
| js.Expression newLiteralBool(bool value,
|
| SourceInformation sourceInformation) {
|
| - if (compiler.enableMinification) {
|
| + if (compiler.options.enableMinification) {
|
| // Use !0 for true, !1 for false.
|
| return new js.Prefix("!", new js.LiteralNumber(value ? "0" : "1"))
|
| .withSourceInformation(sourceInformation);
|
| @@ -2787,7 +2787,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| ClassWorld classWorld = compiler.world;
|
| // An int check if the input is not int or null, is not
|
| // sufficient for doing an argument or receiver check.
|
| - assert(compiler.trustTypeAnnotations ||
|
| + assert(compiler.options.trustTypeAnnotations ||
|
| !node.checkedType.containsOnlyInt(classWorld) ||
|
| node.checkedInput.isIntegerOrNull(compiler));
|
| js.Expression test = generateReceiverOrArgumentTypeTest(
|
|
|