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

Side by Side Diff: dart/lib/compiler/implementation/js_backend/native_emitter.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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 part of js_backend;
6
7 class NativeEmitter { 5 class NativeEmitter {
8 6
9 CodeEmitterTask emitter; 7 CodeEmitterTask emitter;
10 CodeBuffer nativeBuffer; 8 CodeBuffer nativeBuffer;
11 9
12 // Classes that participate in dynamic dispatch. These are the 10 // Classes that participate in dynamic dispatch. These are the
13 // classes that contain used members. 11 // classes that contain used members.
14 Set<ClassElement> classesWithDynamicDispatch; 12 Set<ClassElement> classesWithDynamicDispatch;
15 13
16 // Native classes found in the application. 14 // Native classes found in the application.
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 if (!first) targetBuffer.add(",\n"); 473 if (!first) targetBuffer.add(",\n");
476 targetBuffer.add(" $name: $function"); 474 targetBuffer.add(" $name: $function");
477 first = false; 475 first = false;
478 }); 476 });
479 targetBuffer.add("\n});\n\n"); 477 targetBuffer.add("\n});\n\n");
480 } 478 }
481 targetBuffer.add(nativeBuffer); 479 targetBuffer.add(nativeBuffer);
482 targetBuffer.add('\n'); 480 targetBuffer.add('\n');
483 } 481 }
484 } 482 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/js_backend/namer.dart ('k') | dart/lib/compiler/implementation/lib/constant_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698