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

Side by Side Diff: dart/lib/compiler/implementation/js_backend/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, 1 month 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 /** 5 /**
8 * A function element that represents a closure call. The signature is copied 6 * A function element that represents a closure call. The signature is copied
9 * from the given element. 7 * from the given element.
10 */ 8 */
11 class ClosureInvocationElement extends FunctionElement { 9 class ClosureInvocationElement extends FunctionElement {
12 ClosureInvocationElement(SourceString name, 10 ClosureInvocationElement(SourceString name,
13 FunctionElement other) 11 FunctionElement other)
14 : super.from(name, other, other.enclosingElement), 12 : super.from(name, other, other.enclosingElement),
15 methodElement = other; 13 methodElement = other;
16 14
(...skipping 1561 matching lines...) Expand 10 before | Expand all | Expand 10 after
1578 const String HOOKS_API_USAGE = """ 1576 const String HOOKS_API_USAGE = """
1579 // Generated by dart2js, the Dart to JavaScript compiler. 1577 // Generated by dart2js, the Dart to JavaScript compiler.
1580 // The code supports the following hooks: 1578 // The code supports the following hooks:
1581 // dartPrint(message) - if this function is defined it is called 1579 // dartPrint(message) - if this function is defined it is called
1582 // instead of the Dart [print] method. 1580 // instead of the Dart [print] method.
1583 // dartMainRunner(main) - if this function is defined, the Dart [main] 1581 // dartMainRunner(main) - if this function is defined, the Dart [main]
1584 // method will not be invoked directly. 1582 // method will not be invoked directly.
1585 // Instead, a closure that will invoke [main] is 1583 // Instead, a closure that will invoke [main] is
1586 // passed to [dartMainRunner]. 1584 // passed to [dartMainRunner].
1587 """; 1585 """;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698