| Index: pkg/compiler/lib/src/js_backend/codegen/unsugar.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/codegen/unsugar.dart b/pkg/compiler/lib/src/js_backend/codegen/unsugar.dart
|
| index 494828e8cd9909f5cf028e6b0dcf70559fb74ff0..bbe998f1f396f742fb02e2570ed10aa6e2a32156 100644
|
| --- a/pkg/compiler/lib/src/js_backend/codegen/unsugar.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/codegen/unsugar.dart
|
| @@ -125,7 +125,9 @@ class UnsugarVisitor extends RecursiveVisitor {
|
| function.returnContinuation, <Primitive>[falsePrimitive]));
|
|
|
| Primitive nullPrimitive = nullConstant;
|
| - Primitive test = new Identical(function.parameters.single, nullPrimitive);
|
| + Primitive test = new ApplyBuiltinOperator(
|
| + BuiltinOperator.Identical,
|
| + <Primitive>[function.parameters.single, nullPrimitive]);
|
|
|
| Expression newBody =
|
| new LetCont.many(<Continuation>[returnFalse, originalBody],
|
| @@ -270,7 +272,9 @@ class UnsugarVisitor extends RecursiveVisitor {
|
| InteriorNode parent = node.parent;
|
| IsTrue condition = node.condition;
|
| Primitive t = trueConstant;
|
| - Primitive i = new Identical(condition.value.definition, t);
|
| + Primitive i = new ApplyBuiltinOperator(
|
| + BuiltinOperator.Identical,
|
| + <Primitive>[condition.value.definition, t]);
|
| LetPrim newNode = new LetPrim(t,
|
| new LetPrim(i,
|
| new Branch(new IsTrue(i),
|
|
|