| OLD | NEW |
| 1 library dart2js.unsugar_cps; | 1 library dart2js.unsugar_cps; |
| 2 | 2 |
| 3 import '../../cps_ir/cps_ir_nodes.dart'; | 3 import '../../cps_ir/cps_ir_nodes.dart'; |
| 4 | 4 |
| 5 // TODO(karlklose): share the [ParentVisitor]. | 5 // TODO(karlklose): share the [ParentVisitor]. |
| 6 import '../../cps_ir/optimizers.dart'; | 6 import '../../cps_ir/optimizers.dart'; |
| 7 import '../../constants/expressions.dart'; | 7 import '../../constants/expressions.dart'; |
| 8 import '../../constants/values.dart'; | 8 import '../../constants/values.dart'; |
| 9 import '../../elements/elements.dart' show | 9 import '../../elements/elements.dart' show |
| 10 ClassElement, | 10 ClassElement, |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 LetPrim newNode = new LetPrim(t, | 285 LetPrim newNode = new LetPrim(t, |
| 286 new LetPrim(i, | 286 new LetPrim(i, |
| 287 new Branch(new IsTrue(i), | 287 new Branch(new IsTrue(i), |
| 288 node.trueContinuation.definition, | 288 node.trueContinuation.definition, |
| 289 node.falseContinuation.definition))); | 289 node.falseContinuation.definition))); |
| 290 condition.value.unlink(); | 290 condition.value.unlink(); |
| 291 node.trueContinuation.unlink(); | 291 node.trueContinuation.unlink(); |
| 292 node.falseContinuation.unlink(); | 292 node.falseContinuation.unlink(); |
| 293 parent.body = newNode; | 293 parent.body = newNode; |
| 294 } | 294 } |
| 295 |
| 296 processInterceptor(Interceptor node) { |
| 297 _glue.registerSpecializedGetInterceptor(node.interceptedClasses); |
| 298 } |
| 295 } | 299 } |
| OLD | NEW |