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

Side by Side Diff: pkg/compiler/lib/src/use_unused_api.dart

Issue 912223003: Support @NoInlining in the ssa-builder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: move TODO Created 5 years, 10 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /// This file use methods that aren't used by dart2js.dart, but that we wish to 5 /// This file use methods that aren't used by dart2js.dart, but that we wish to
6 /// keep anyway. This might be general API that isn't currently in use, 6 /// keep anyway. This might be general API that isn't currently in use,
7 /// debugging aids, or API only used for testing (see TODO below). 7 /// debugging aids, or API only used for testing (see TODO below).
8 8
9 library dart2js.use_unused_api; 9 library dart2js.use_unused_api;
10 10
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 useJsNode(js.Node node) { 173 useJsNode(js.Node node) {
174 node.asVariableUse(); 174 node.asVariableUse();
175 } 175 }
176 176
177 useJsOther(js.SimpleJavaScriptPrintingContext context) { 177 useJsOther(js.SimpleJavaScriptPrintingContext context) {
178 context.getText(); 178 context.getText();
179 } 179 }
180 180
181 useJsBackend(js_backend.JavaScriptBackend backend) { 181 useJsBackend(js_backend.JavaScriptBackend backend) {
182 backend.assembleCode(null); 182 backend.assembleCode(null);
183 backend.annotations.noInlining(null);
184 backend.annotations.trustTypeAnnotations(null);
185 backend.annotations.assumeDynamic(null);
186 } 183 }
187 184
188 useConcreteTypesInferrer(concrete_types_inferrer.ConcreteTypesInferrer c) { 185 useConcreteTypesInferrer(concrete_types_inferrer.ConcreteTypesInferrer c) {
189 c.debug(); 186 c.debug();
190 } 187 }
191 188
192 useColor() { 189 useColor() {
193 colors.white(null); 190 colors.white(null);
194 colors.blue(null); 191 colors.blue(null);
195 colors.yellow(null); 192 colors.yellow(null);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 } 284 }
288 285
289 useScript(dart2jslib.Script script) { 286 useScript(dart2jslib.Script script) {
290 script.copyWithFile(null); 287 script.copyWithFile(null);
291 } 288 }
292 289
293 useProgramBuilder(program_builder.ProgramBuilder builder) { 290 useProgramBuilder(program_builder.ProgramBuilder builder) {
294 builder.buildMethodHackForIncrementalCompilation(null); 291 builder.buildMethodHackForIncrementalCompilation(null);
295 builder.buildFieldsHackForIncrementalCompilation(null); 292 builder.buildFieldsHackForIncrementalCompilation(null);
296 } 293 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698