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

Side by Side Diff: pkg/fletchc/lib/src/debug_info_function_codegen.dart

Issue 1450393002: Roll sdk dependency to 34357cdad108dcba734949bd13bd28c76ea285e0 (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Created 5 years, 1 month 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
OLDNEW
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Fletch 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 library fletchc.debug_info_function_codegen; 5 library fletchc.debug_info_function_codegen;
6 6
7 import 'package:compiler/src/elements/elements.dart'; 7 import 'package:compiler/src/elements/elements.dart';
8 import 'package:compiler/src/resolution/resolution.dart'; 8 import 'package:compiler/src/resolution/tree_elements.dart';
9 import 'package:compiler/src/tree/tree.dart'; 9 import 'package:compiler/src/tree/tree.dart';
10 import 'package:compiler/src/universe/universe.dart'; 10 import 'package:compiler/src/universe/selector.dart';
11
12 import 'package:compiler/src/dart2jslib.dart' show
13 Registry;
14 11
15 import 'package:compiler/src/dart_types.dart' show 12 import 'package:compiler/src/dart_types.dart' show
16 DartType; 13 DartType;
17 14
18 import 'package:compiler/src/util/util.dart' show 15 import 'package:compiler/src/diagnostics/spannable.dart' show
19 Spannable; 16 Spannable;
20 17
21 import 'bytecode_assembler.dart'; 18 import 'bytecode_assembler.dart';
22 import 'closure_environment.dart'; 19 import 'closure_environment.dart';
23 import 'codegen_visitor.dart'; 20 import 'codegen_visitor.dart';
24 21
25 import 'fletch_function_builder.dart' show 22 import 'fletch_function_builder.dart' show
26 FletchFunctionBuilder; 23 FletchFunctionBuilder;
27 24
28 import 'fletch_registry.dart' show 25 import 'fletch_registry.dart' show
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 Spannable diagnosticLocation) { 69 Spannable diagnosticLocation) {
73 recordDebugInfo(node); 70 recordDebugInfo(node);
74 super.callIsSelector(node, type, diagnosticLocation); 71 super.callIsSelector(node, type, diagnosticLocation);
75 } 72 }
76 73
77 void invokeMethod(Node node, Selector selector) { 74 void invokeMethod(Node node, Selector selector) {
78 recordDebugInfo(node); 75 recordDebugInfo(node);
79 super.invokeMethod(node, selector); 76 super.invokeMethod(node, selector);
80 } 77 }
81 78
82 void invokeGetter(Node node, Selector selector) { 79 void invokeGetter(Node node, Name name) {
83 recordDebugInfo(node); 80 recordDebugInfo(node);
84 super.invokeGetter(node, selector); 81 super.invokeGetter(node, name);
85 } 82 }
86 83
87 void invokeSetter(Node node, Selector selector) { 84 void invokeSetter(Node node, Name name) {
88 recordDebugInfo(node); 85 recordDebugInfo(node);
89 super.invokeSetter(node, selector); 86 super.invokeSetter(node, name);
90 } 87 }
91 88
92 void invokeFactory(Node node, int constId, int arity) { 89 void invokeFactory(Node node, int constId, int arity) {
93 recordDebugInfo(node); 90 recordDebugInfo(node);
94 super.invokeFactory(node, constId, arity); 91 super.invokeFactory(node, constId, arity);
95 } 92 }
96 93
97 void invokeStatic(Node node, int constId, int arity) { 94 void invokeStatic(Node node, int constId, int arity) {
98 recordDebugInfo(node); 95 recordDebugInfo(node);
99 super.invokeStatic(node, constId, arity); 96 super.invokeStatic(node, constId, arity);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 void visitForValue(Node node) { 143 void visitForValue(Node node) {
147 recordDebugInfo(node); 144 recordDebugInfo(node);
148 super.visitForValue(node); 145 super.visitForValue(node);
149 } 146 }
150 147
151 void visitForEffect(Node node) { 148 void visitForEffect(Node node) {
152 recordDebugInfo(node); 149 recordDebugInfo(node);
153 super.visitForEffect(node); 150 super.visitForEffect(node);
154 } 151 }
155 } 152 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698