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

Side by Side Diff: lib/compiler/implementation/native_handler.dart

Issue 10081004: Remove frog dependencies from lib/compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 #library('native'); 5 #library('native');
6 #import('../../uri/uri.dart'); 6 #import('dart:uri');
7 #import('leg.dart'); 7 #import('leg.dart');
8 #import('elements/elements.dart'); 8 #import('elements/elements.dart');
9 #import('scanner/scannerlib.dart'); 9 #import('scanner/scannerlib.dart');
10 #import('ssa/ssa.dart'); 10 #import('ssa/ssa.dart');
11 #import('tree/tree.dart'); 11 #import('tree/tree.dart');
12 #import('util/util.dart'); 12 #import('util/util.dart');
13 13
14 void processNativeClasses(Compiler compiler, 14 void processNativeClasses(Compiler compiler,
15 Collection<LibraryElement> libraries) { 15 Collection<LibraryElement> libraries) {
16 for (LibraryElement library in libraries) { 16 for (LibraryElement library in libraries) {
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 const LiteralDartString('void'), 359 const LiteralDartString('void'),
360 <HInstruction>[jsClosure])); 360 <HInstruction>[jsClosure]));
361 } 361 }
362 }); 362 });
363 LiteralString jsCode = node.arguments.head; 363 LiteralString jsCode = node.arguments.head;
364 builder.push(new HForeign(jsCode.dartString, 364 builder.push(new HForeign(jsCode.dartString,
365 const LiteralDartString('Object'), 365 const LiteralDartString('Object'),
366 <HInstruction>[])); 366 <HInstruction>[]));
367 } 367 }
368 } 368 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698