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

Side by Side Diff: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart

Issue 1030103004: Implement ResolvedVisitor using SemanticSendVisitor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Cleanups. Created 5 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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.ir_builder_task; 5 library dart2js.ir_builder_task;
6 6
7 import '../closure.dart' as closurelib; 7 import '../closure.dart' as closurelib;
8 import '../closure.dart' hide ClosureScope; 8 import '../closure.dart' hide ClosureScope;
9 import '../constants/expressions.dart'; 9 import '../constants/expressions.dart';
10 import '../dart_types.dart'; 10 import '../dart_types.dart';
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // used to determine if a join-point continuation needs to be passed 153 // used to determine if a join-point continuation needs to be passed
154 // arguments, and what the arguments are. 154 // arguments, and what the arguments are.
155 155
156 /// Construct a top-level visitor. 156 /// Construct a top-level visitor.
157 IrBuilderVisitor(TreeElements elements, 157 IrBuilderVisitor(TreeElements elements,
158 this.compiler, 158 this.compiler,
159 this.sourceInformationBuilder) 159 this.sourceInformationBuilder)
160 : super(elements); 160 : super(elements);
161 161
162 @override 162 @override
163 bulkHandleNode(ast.Node node, String message) => giveup(node, message); 163 bulkHandleNode(ast.Node node, String message, _) => giveup(node, message);
164 164
165 @override 165 @override
166 ir.Primitive apply(ast.Node node, _) => node.accept(this); 166 ir.Primitive apply(ast.Node node, _) => node.accept(this);
167 167
168 @override 168 @override
169 SemanticSendVisitor get sendVisitor => this; 169 SemanticSendVisitor get sendVisitor => this;
170 170
171 /** 171 /**
172 * Builds the [ir.ExecutableDefinition] for an executable element. In case the 172 * Builds the [ir.ExecutableDefinition] for an executable element. In case the
173 * function uses features that cannot be expressed in the IR, this element 173 * function uses features that cannot be expressed in the IR, this element
(...skipping 2429 matching lines...) Expand 10 before | Expand all | Expand 10 after
2603 SourceInformation buildCall(ast.Node node) { 2603 SourceInformation buildCall(ast.Node node) {
2604 return new PositionSourceInformation( 2604 return new PositionSourceInformation(
2605 new TokenSourceLocation(sourceFile, node.getBeginToken(), name)); 2605 new TokenSourceLocation(sourceFile, node.getBeginToken(), name));
2606 } 2606 }
2607 2607
2608 @override 2608 @override
2609 SourceInformationBuilder forContext(AstElement element) { 2609 SourceInformationBuilder forContext(AstElement element) {
2610 return new PositionSourceInformationBuilder(element); 2610 return new PositionSourceInformationBuilder(element);
2611 } 2611 }
2612 } 2612 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/dart2jslib.dart » ('j') | tests/compiler/dart2js/minify_many_locals_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698