OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 part of ssa; | 5 part of ssa; |
6 | 6 |
7 /// A synthetic local variable only used with the SSA graph. | 7 /// A synthetic local variable only used with the SSA graph. |
8 /// | 8 /// |
9 /// For instance used for holding return value of function or the exception of a | 9 /// For instance used for holding return value of function or the exception of a |
10 /// try-catch statement. | 10 /// try-catch statement. |
(...skipping 6558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6569 if (unaliased is TypedefType) throw 'unable to unalias $type'; | 6569 if (unaliased is TypedefType) throw 'unable to unalias $type'; |
6570 unaliased.accept(this, builder); | 6570 unaliased.accept(this, builder); |
6571 } | 6571 } |
6572 | 6572 |
6573 void visitDynamicType(DynamicType type, SsaBuilder builder) { | 6573 void visitDynamicType(DynamicType type, SsaBuilder builder) { |
6574 JavaScriptBackend backend = builder.compiler.backend; | 6574 JavaScriptBackend backend = builder.compiler.backend; |
6575 ClassElement cls = backend.findHelper('DynamicRuntimeType'); | 6575 ClassElement cls = backend.findHelper('DynamicRuntimeType'); |
6576 builder.push(new HDynamicType(type, new TypeMask.exact(cls, classWorld))); | 6576 builder.push(new HDynamicType(type, new TypeMask.exact(cls, classWorld))); |
6577 } | 6577 } |
6578 } | 6578 } |
OLD | NEW |