| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library dart2js.ir_builder_task; | 5 library dart2js.ir_builder_task; |
| 6 | 6 |
| 7 import '../closure.dart' as closurelib; | 7 import '../closure.dart' as closurelib; |
| 8 import '../closure.dart' hide ClosureScope; | 8 import '../closure.dart' hide ClosureScope; |
| 9 import '../constants/expressions.dart'; | 9 import '../constants/expressions.dart'; |
| 10 import '../dart_types.dart'; | 10 import '../dart_types.dart'; |
| (...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 return giveup(node, 'assert in checked mode not implemented'); | 605 return giveup(node, 'assert in checked mode not implemented'); |
| 606 } else { | 606 } else { |
| 607 // The call to assert and its argument expression must be ignored | 607 // The call to assert and its argument expression must be ignored |
| 608 // in production mode. | 608 // in production mode. |
| 609 // Assertions can onl)y occur in expression statements, so no value needs | 609 // Assertions can onl)y occur in expression statements, so no value needs |
| 610 // to be returned. | 610 // to be returned. |
| 611 return null; | 611 return null; |
| 612 } | 612 } |
| 613 } | 613 } |
| 614 | 614 |
| 615 @override |
| 616 void previsitDeferredAccess(ast.Send node, PrefixElement prefix, _) { |
| 617 giveup(node, 'deferred access is not implemented'); |
| 618 } |
| 619 |
| 615 ir.Primitive visitNamedArgument(ast.NamedArgument node) { | 620 ir.Primitive visitNamedArgument(ast.NamedArgument node) { |
| 616 assert(irBuilder.isOpen); | 621 assert(irBuilder.isOpen); |
| 617 return visit(node.expression); | 622 return visit(node.expression); |
| 618 } | 623 } |
| 619 | 624 |
| 620 @override | 625 @override |
| 621 ir.Primitive visitExpressionInvoke(ast.Send node, | 626 ir.Primitive visitExpressionInvoke(ast.Send node, |
| 622 ast.Node expression, | 627 ast.Node expression, |
| 623 ast.NodeList argumentsNode, | 628 ast.NodeList argumentsNode, |
| 624 Selector selector, _) { | 629 Selector selector, _) { |
| (...skipping 2778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3403 } | 3408 } |
| 3404 | 3409 |
| 3405 processSetStatic(ir.SetStatic node) { | 3410 processSetStatic(ir.SetStatic node) { |
| 3406 node.body = replacementFor(node.body); | 3411 node.body = replacementFor(node.body); |
| 3407 } | 3412 } |
| 3408 | 3413 |
| 3409 processContinuation(ir.Continuation node) { | 3414 processContinuation(ir.Continuation node) { |
| 3410 node.body = replacementFor(node.body); | 3415 node.body = replacementFor(node.body); |
| 3411 } | 3416 } |
| 3412 } | 3417 } |
| OLD | NEW |