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; | 5 import 'dart:core' hide Symbol; |
6 | 6 |
7 @patch | 7 @patch |
8 List makeListFixedLength(List growableList) | 8 List makeListFixedLength(List growableList) |
9 native "Internal_makeListFixedLength"; | 9 native "Internal_makeListFixedLength"; |
10 | 10 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 i--, j--) { | 57 i--, j--) { |
58 dst[j] = src[i]; | 58 dst[j] = src[i]; |
59 } | 59 } |
60 } else { | 60 } else { |
61 for (int i = srcStart, j = dstStart; i < srcStart + count; i++, j++) { | 61 for (int i = srcStart, j = dstStart; i < srcStart + count; i++, j++) { |
62 dst[j] = src[i]; | 62 dst[j] = src[i]; |
63 } | 63 } |
64 } | 64 } |
65 } | 65 } |
66 } | 66 } |
| 67 |
| 68 // Prepend the parent type arguments (maybe null) to the function type |
| 69 // arguments (may be null). The result is null if both input vectors are null |
| 70 // or is a newly allocated and canonicalized vector of length 'len'. |
| 71 _prependTypeArguments(functionTypeArguments, parentTypeArguments, len) |
| 72 native "Internal_prependTypeArguments"; |
OLD | NEW |