Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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.kernel.backend_strategy; | 5 library dart2js.kernel.backend_strategy; |
| 6 | 6 |
| 7 import 'package:kernel/ast.dart' as ir; | 7 import 'package:kernel/ast.dart' as ir; |
| 8 | 8 |
| 9 import '../backend_strategy.dart'; | 9 import '../backend_strategy.dart'; |
| 10 import '../closure.dart'; | 10 import '../closure.dart'; |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 209 @override | 209 @override |
| 210 TypeMask getReturnTypeOf(FunctionEntity function) { | 210 TypeMask getReturnTypeOf(FunctionEntity function) { |
| 211 return _closedWorld.commonMasks.dynamicType; | 211 return _closedWorld.commonMasks.dynamicType; |
| 212 } | 212 } |
| 213 } | 213 } |
| 214 | 214 |
| 215 /// TODO(johnniwinther,efortuna): Implement this. | 215 /// TODO(johnniwinther,efortuna): Implement this. |
| 216 class KernelClosureClassMaps implements ClosureClassMaps { | 216 class KernelClosureClassMaps implements ClosureClassMaps { |
| 217 const KernelClosureClassMaps(); | 217 const KernelClosureClassMaps(); |
| 218 | 218 |
| 219 // TODO(efortuna); | |
| 220 ClassEntity getClosureClassEntity(Local member); | |
|
Johnni Winther
2017/05/31 12:39:51
Add a `=> null;` body to avoid warnings.
| |
| 221 | |
| 219 @override | 222 @override |
| 220 ClosureClassMap getLocalFunctionMap(Local localFunction) { | 223 ClosureClassMap getLocalFunctionMap(Local localFunction) { |
| 221 return new ClosureClassMap(null, null, null, null); | 224 return new ClosureClassMap(null, null, null, null); |
| 222 } | 225 } |
| 223 | 226 |
| 224 @override | 227 @override |
| 225 ClosureClassMap getMemberMap(MemberEntity member) { | 228 ClosureClassMap getMemberMap(MemberEntity member) { |
| 226 return new ClosureClassMap(null, null, null, null); | 229 return new ClosureClassMap(null, null, null, null); |
| 227 } | 230 } |
| 228 } | 231 } |
| OLD | NEW |