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

Side by Side Diff: pkg/compiler/lib/src/ssa/builder_kernel.dart

Issue 2267193002: Fix redness in bot (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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 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 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 import '../common/codegen.dart' show CodegenWorkItem; 5 import '../common/codegen.dart' show CodegenWorkItem;
6 import '../common/tasks.dart' show CompilerTask; 6 import '../common/tasks.dart' show CompilerTask;
7 import '../io/source_information.dart'; 7 import '../io/source_information.dart';
8 import '../js_backend/backend.dart' show JavaScriptBackend, FunctionCompiler; 8 import '../js_backend/backend.dart' show JavaScriptBackend, FunctionCompiler;
9 import '../elements/elements.dart'; 9 import '../elements/elements.dart';
10 10
11 import 'nodes.dart'; 11 import 'nodes.dart';
12 12
13 class SsaKernelBuilderTask extends CompilerTask { 13 class SsaKernelBuilderTask extends CompilerTask {
14 final JavaScriptBackend backend; 14 final JavaScriptBackend backend;
15 final SourceInformationStrategy sourceInformationFactory; 15 final SourceInformationStrategy sourceInformationFactory;
16 16
17 String get name => 'SSA kernel builder'; 17 String get name => 'SSA kernel builder';
18 18
19 SsaKernelBuilderTask(JavaScriptBackend backend, this.sourceInformationFactory) 19 SsaKernelBuilderTask(JavaScriptBackend backend, this.sourceInformationFactory)
20 : super(backend.compiler.measurer); 20 : backend = backend,
21 super(backend.compiler.measurer);
21 22
22 HGraph build(CodegenWorkItem work) { 23 HGraph build(CodegenWorkItem work) {
23 return measure(() { 24 return measure(() {
24 Element element = work.element.implementation; 25 Element element = work.element.implementation;
25 throw "unimplemented"; 26 throw "unimplemented";
26 }); 27 });
27 } 28 }
28 } 29 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698