Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: pkg/compiler/lib/src/ssa/builder_kernel.dart

Issue 2269783002: Add skeleton of SSAKernel function compiler (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder.dart ('k') | pkg/compiler/lib/src/ssa/ssa.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
+ });
+ }
+}
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder.dart ('k') | pkg/compiler/lib/src/ssa/ssa.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698