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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 198 |
199 // This function expects its first argument to be a non-smi. | 199 // This function expects its first argument to be a non-smi. |
200 "_IsStringWrapperSafeForDefaultValueOf" : true, | 200 "_IsStringWrapperSafeForDefaultValueOf" : true, |
201 | 201 |
202 // Only applicable to strings. | 202 // Only applicable to strings. |
203 "_HasCachedArrayIndex": true, | 203 "_HasCachedArrayIndex": true, |
204 "_GetCachedArrayIndex": true, | 204 "_GetCachedArrayIndex": true, |
205 "_OneByteSeqStringSetChar": true, | 205 "_OneByteSeqStringSetChar": true, |
206 "_TwoByteSeqStringSetChar": true, | 206 "_TwoByteSeqStringSetChar": true, |
207 | 207 |
| 208 // Only applicable to TypedArrays. |
| 209 "TypedArrayInitialize": true, |
| 210 |
208 // Only applicable to generators. | 211 // Only applicable to generators. |
209 "_GeneratorNext": true, | 212 "_GeneratorNext": true, |
210 "_GeneratorThrow": true, | 213 "_GeneratorThrow": true, |
211 | 214 |
212 // Only applicable to DataViews. | 215 // Only applicable to DataViews. |
213 "DataViewInitialize": true, | 216 "DataViewInitialize": true, |
214 "DataViewGetBuffer": true, | 217 "DataViewGetBuffer": true, |
215 "DataViewGetByteLength": true, | 218 "DataViewGetByteLength": true, |
216 "DataViewGetByteOffset": true | 219 "DataViewGetByteOffset": true |
217 }; | 220 }; |
(...skipping 15 matching lines...) Expand all Loading... |
233 if (name in knownProblems || name in currentlyUncallable) | 236 if (name in knownProblems || name in currentlyUncallable) |
234 continue; | 237 continue; |
235 print(name); | 238 print(name); |
236 var argc = nativeInfo[1]; | 239 var argc = nativeInfo[1]; |
237 testArgumentCount(name, argc); | 240 testArgumentCount(name, argc); |
238 testArgumentTypes(name, argc); | 241 testArgumentTypes(name, argc); |
239 } | 242 } |
240 } | 243 } |
241 | 244 |
242 testNatives(); | 245 testNatives(); |
OLD | NEW |