Index: pkg/compiler/lib/src/ssa/builder_kernel.dart |
diff --git a/pkg/compiler/lib/src/ssa/builder_kernel.dart b/pkg/compiler/lib/src/ssa/builder_kernel.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..147d84680c72c3111f31c1026e4de6addfbda60a |
--- /dev/null |
+++ b/pkg/compiler/lib/src/ssa/builder_kernel.dart |
@@ -0,0 +1,28 @@ |
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+import '../common/codegen.dart' show CodegenWorkItem; |
+import '../common/tasks.dart' show CompilerTask; |
+import '../io/source_information.dart'; |
+import '../js_backend/backend.dart' show JavaScriptBackend, FunctionCompiler; |
+import '../elements/elements.dart'; |
+ |
+import 'nodes.dart'; |
+ |
+class SsaKernelBuilderTask extends CompilerTask { |
+ final JavaScriptBackend backend; |
+ final SourceInformationStrategy sourceInformationFactory; |
+ |
+ String get name => 'SSA kernel builder'; |
+ |
+ SsaKernelBuilderTask(JavaScriptBackend backend, this.sourceInformationFactory) |
+ : super(backend.compiler.measurer); |
+ |
+ HGraph build(CodegenWorkItem work) { |
+ return measure(() { |
+ Element element = work.element.implementation; |
+ throw "unimplemented"; |
+ }); |
+ } |
+} |