OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library fletchc.fletch_codegen_registry; | 5 library fletchc.fletch_codegen_registry; |
6 | 6 |
7 import 'package:compiler/src/compiler.dart' show | 7 import 'package:compiler/src/compiler.dart' show |
8 GlobalDependencyRegistry; | 8 GlobalDependencyRegistry; |
9 | 9 |
10 import 'package:compiler/src/common/codegen.dart' show | 10 import 'package:compiler/src/common/codegen.dart' show |
11 CodegenRegistry; | 11 CodegenRegistry; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 assert(function.isInstanceMember); | 117 assert(function.isInstanceMember); |
118 assert(function.name == "call"); | 118 assert(function.name == "call"); |
119 break; | 119 break; |
120 | 120 |
121 case ClosureKind.localFunction: | 121 case ClosureKind.localFunction: |
122 assert(function.memberContext != function); | 122 assert(function.memberContext != function); |
123 } | 123 } |
124 world.dynamicCallEnqueuer.enqueueClosure(function, kind); | 124 world.dynamicCallEnqueuer.enqueueClosure(function, kind); |
125 } | 125 } |
126 } | 126 } |
OLD | NEW |