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

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

Issue 861713002: Handle super-method invocations in CPS->JS backend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 ..visitParameter(null); 245 ..visitParameter(null);
246 task 246 task
247 ..hasIr(null) 247 ..hasIr(null)
248 ..getIr(null); 248 ..getIr(null);
249 builder 249 builder
250 ..buildIntegerLiteral(null) 250 ..buildIntegerLiteral(null)
251 ..buildDoubleLiteral(null) 251 ..buildDoubleLiteral(null)
252 ..buildBooleanLiteral(null) 252 ..buildBooleanLiteral(null)
253 ..buildNullLiteral() 253 ..buildNullLiteral()
254 ..buildStringLiteral(null) 254 ..buildStringLiteral(null)
255 ..buildDynamicGet(null, null) 255 ..buildDynamicGet(null, null);
256 ..buildSuperGet(null);
257 } 256 }
258 257
259 useCompiler(dart2jslib.Compiler compiler) { 258 useCompiler(dart2jslib.Compiler compiler) {
260 compiler.libraryLoader 259 compiler.libraryLoader
261 ..reset() 260 ..reset()
262 ..resetAsync(null) 261 ..resetAsync(null)
263 ..lookupLibrary(null); 262 ..lookupLibrary(null);
264 compiler.forgetElement(null); 263 compiler.forgetElement(null);
265 } 264 }
266 265
267 useTypes() { 266 useTypes() {
268 new dart_types.ResolvedTypedefType(null, null, null).unalias(null); 267 new dart_types.ResolvedTypedefType(null, null, null).unalias(null);
269 } 268 }
270 269
271 useCodeEmitterTask(js_emitter.CodeEmitterTask codeEmitterTask) { 270 useCodeEmitterTask(js_emitter.CodeEmitterTask codeEmitterTask) {
272 codeEmitterTask.oldEmitter.clearCspPrecompiledNodes(); 271 codeEmitterTask.oldEmitter.clearCspPrecompiledNodes();
273 } 272 }
274 273
275 useScript(dart2jslib.Script script) { 274 useScript(dart2jslib.Script script) {
276 script.copyWithFile(null); 275 script.copyWithFile(null);
277 } 276 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698