OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 import '../common/codegen.dart' show CodegenWorkItem; |
| 6 import '../common/tasks.dart' show CompilerTask; |
| 7 import '../io/source_information.dart'; |
| 8 import '../js_backend/backend.dart' show JavaScriptBackend, FunctionCompiler; |
| 9 import '../elements/elements.dart'; |
| 10 |
| 11 import 'nodes.dart'; |
| 12 |
| 13 class SsaKernelBuilderTask extends CompilerTask { |
| 14 final JavaScriptBackend backend; |
| 15 final SourceInformationStrategy sourceInformationFactory; |
| 16 |
| 17 String get name => 'SSA kernel builder'; |
| 18 |
| 19 SsaKernelBuilderTask(JavaScriptBackend backend, this.sourceInformationFactory) |
| 20 : super(backend.compiler.measurer); |
| 21 |
| 22 HGraph build(CodegenWorkItem work) { |
| 23 return measure(() { |
| 24 Element element = work.element.implementation; |
| 25 throw "unimplemented"; |
| 26 }); |
| 27 } |
| 28 } |
OLD | NEW |