| OLD | NEW |
| 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 class NativeEmitter { | 5 class NativeEmitter { |
| 6 | 6 |
| 7 CodeEmitterTask emitter; | 7 CodeEmitterTask emitter; |
| 8 CodeBuffer nativeBuffer; | 8 CodeBuffer nativeBuffer; |
| 9 | 9 |
| 10 // Classes that participate in dynamic dispatch. These are the | 10 // Classes that participate in dynamic dispatch. These are the |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 if (!first) targetBuffer.add(",\n"); | 426 if (!first) targetBuffer.add(",\n"); |
| 427 targetBuffer.add(" $name: $function"); | 427 targetBuffer.add(" $name: $function"); |
| 428 first = false; | 428 first = false; |
| 429 }); | 429 }); |
| 430 targetBuffer.add("\n});\n\n"); | 430 targetBuffer.add("\n});\n\n"); |
| 431 } | 431 } |
| 432 targetBuffer.add('$nativeBuffer'); | 432 targetBuffer.add('$nativeBuffer'); |
| 433 targetBuffer.add('\n'); | 433 targetBuffer.add('\n'); |
| 434 } | 434 } |
| 435 } | 435 } |
| OLD | NEW |