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

Side by Side Diff: runtime/lib/function.dart

Issue 2751423005: Run dartfmt on all files under runtime. (Closed)
Patch Set: Run dartfmt on all files under runtime. Created 3 years, 9 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
« no previous file with comments | « runtime/lib/expando_patch.dart ('k') | runtime/lib/function_patch.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 _Closure implements Function { 5 class _Closure implements Function {
6
7 bool operator ==(other) native "Closure_equals"; 6 bool operator ==(other) native "Closure_equals";
8 7
9 int get hashCode native "Closure_hashCode"; 8 int get hashCode native "Closure_hashCode";
10 9
11 _Closure get call => this; 10 _Closure get call => this;
12 11
13 _Closure _clone() native "Closure_clone"; 12 _Closure _clone() native "Closure_clone";
14 13
15 // No instance fields should be declared before the following 3 fields whose 14 // No instance fields should be declared before the following 3 fields whose
16 // offsets must be identical in Dart and C++. 15 // offsets must be identical in Dart and C++.
17 16
18 // The following 3 fields are declared both in raw_object.h (for direct access 17 // The following 3 fields are declared both in raw_object.h (for direct access
19 // from C++ code) and also here so that the offset-to-field map used by 18 // from C++ code) and also here so that the offset-to-field map used by
20 // deferred objects is properly initialized. 19 // deferred objects is properly initialized.
21 // Caution: These fields are not Dart instances, but VM objects. 20 // Caution: These fields are not Dart instances, but VM objects.
22 // The fields had to be renamed here so that they would be private fields 21 // The fields had to be renamed here so that they would be private fields
23 // in dart 22 // in dart
24 // instantiator_ ===> _instantiator 23 // instantiator_ ===> _instantiator
25 // function_ ===> _function 24 // function_ ===> _function
26 // context_ ===> _context 25 // context_ ===> _context
27 var _instantiator; 26 var _instantiator;
28 var _function; 27 var _function;
29 var _context; 28 var _context;
30 } 29 }
OLDNEW
« no previous file with comments | « runtime/lib/expando_patch.dart ('k') | runtime/lib/function_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698