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 import 'dart:core' hide Symbol; |
| 6 |
5 @patch List makeListFixedLength(List growableList) | 7 @patch List makeListFixedLength(List growableList) |
6 native "Internal_makeListFixedLength"; | 8 native "Internal_makeListFixedLength"; |
7 | 9 |
8 @patch List makeFixedListUnmodifiable(List fixedLengthList) | 10 @patch List makeFixedListUnmodifiable(List fixedLengthList) |
9 native "Internal_makeFixedListUnmodifiable"; | 11 native "Internal_makeFixedListUnmodifiable"; |
10 | 12 |
11 class VMLibraryHooks { | 13 class VMLibraryHooks { |
12 // Example: "dart:isolate _Timer._factory" | 14 // Example: "dart:isolate _Timer._factory" |
13 static var timerFactory; | 15 static var timerFactory; |
14 | 16 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 i >= srcStart; i--, j--) { | 58 i >= srcStart; i--, j--) { |
57 dst[j] = src[i]; | 59 dst[j] = src[i]; |
58 } | 60 } |
59 } else { | 61 } else { |
60 for (int i = srcStart, j = dstStart; i < srcStart + count; i++, j++) { | 62 for (int i = srcStart, j = dstStart; i < srcStart + count; i++, j++) { |
61 dst[j] = src[i]; | 63 dst[j] = src[i]; |
62 } | 64 } |
63 } | 65 } |
64 } | 66 } |
65 } | 67 } |
OLD | NEW |