OLD | NEW |
---|---|
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 patch List makeListFixedLength(List growableList) | 5 patch List makeListFixedLength(List growableList) |
6 native "Internal_makeListFixedLength"; | 6 native "Internal_makeListFixedLength"; |
7 | 7 |
8 patch List makeFixedListUnmodifiable(List fixedLengthList) | 8 patch List makeFixedListUnmodifiable(List fixedLengthList) |
9 native "Internal_makeFixedListUnmodifiable"; | 9 native "Internal_makeFixedListUnmodifiable"; |
10 | 10 |
11 class VMLibraryHooks { | 11 class VMLibraryHooks { |
12 // Example: "dart:isolate _Timer._factory" | 12 // Example: "dart:isolate _Timer._factory" |
13 static var timerFactory; | 13 static var timerFactory; |
14 // Example: "dart:io _EventHandler._timerMillisecondClock" | |
zra
2015/12/10 22:53:46
Other than the call site, this is the only place i
rmacnak
2015/12/11 18:39:40
Added.
Noting that eventHandlerSendData has a far
| |
15 static var timerMillisecondClock; | |
14 // Example: "dart:io _EventHandler._sendData" | 16 // Example: "dart:io _EventHandler._sendData" |
15 static var eventHandlerSendData; | 17 static var eventHandlerSendData; |
16 // Implementation of Resource.readAsBytes. | 18 // Implementation of Resource.readAsBytes. |
17 static var resourceReadAsBytes; | 19 static var resourceReadAsBytes; |
18 // Implementation of package root/map provision. | 20 // Implementation of package root/map provision. |
19 static var getPackageRoot; | 21 static var getPackageRoot; |
20 static var getPackageMap; | 22 static var getPackageMap; |
21 } | 23 } |
22 | 24 |
23 patch class CodeUnits { | 25 patch class CodeUnits { |
24 static final int cid = ClassID.getID(new CodeUnits("")); | 26 static final int cid = ClassID.getID(new CodeUnits("")); |
25 } | 27 } |
26 | 28 |
27 final bool is64Bit = _inquireIs64Bit(); | 29 final bool is64Bit = _inquireIs64Bit(); |
28 | 30 |
29 bool _inquireIs64Bit() native "Internal_inquireIs64Bit"; | 31 bool _inquireIs64Bit() native "Internal_inquireIs64Bit"; |
OLD | NEW |