OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 | 196 |
197 // This function expects its first argument to be a non-smi. | 197 // This function expects its first argument to be a non-smi. |
198 "_IsStringWrapperSafeForDefaultValueOf" : true, | 198 "_IsStringWrapperSafeForDefaultValueOf" : true, |
199 | 199 |
200 // Only applicable to strings. | 200 // Only applicable to strings. |
201 "_HasCachedArrayIndex": true, | 201 "_HasCachedArrayIndex": true, |
202 "_GetCachedArrayIndex": true, | 202 "_GetCachedArrayIndex": true, |
203 "_OneByteSeqStringSetChar": true, | 203 "_OneByteSeqStringSetChar": true, |
204 "_TwoByteSeqStringSetChar": true, | 204 "_TwoByteSeqStringSetChar": true, |
205 | 205 |
| 206 // Only applicable to TypedArrays. |
| 207 "TypedArrayInitialize": true, |
| 208 |
206 // Only applicable to generators. | 209 // Only applicable to generators. |
207 "_GeneratorNext": true, | 210 "_GeneratorNext": true, |
208 "_GeneratorThrow": true, | 211 "_GeneratorThrow": true, |
209 | 212 |
210 // Only applicable to DataViews. | 213 // Only applicable to DataViews. |
211 "DataViewInitialize": true, | 214 "DataViewInitialize": true, |
212 "DataViewGetBuffer": true, | 215 "DataViewGetBuffer": true, |
213 "DataViewGetByteLength": true, | 216 "DataViewGetByteLength": true, |
214 "DataViewGetByteOffset": true | 217 "DataViewGetByteOffset": true |
215 }; | 218 }; |
(...skipping 15 matching lines...) Expand all Loading... |
231 if (name in knownProblems || name in currentlyUncallable) | 234 if (name in knownProblems || name in currentlyUncallable) |
232 continue; | 235 continue; |
233 print(name); | 236 print(name); |
234 var argc = nativeInfo[1]; | 237 var argc = nativeInfo[1]; |
235 testArgumentCount(name, argc); | 238 testArgumentCount(name, argc); |
236 testArgumentTypes(name, argc); | 239 testArgumentTypes(name, argc); |
237 } | 240 } |
238 } | 241 } |
239 | 242 |
240 testNatives(); | 243 testNatives(); |
OLD | NEW |