| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 | 197 |
| 198 // This function expects its first argument to be a non-smi. | 198 // This function expects its first argument to be a non-smi. |
| 199 "_IsStringWrapperSafeForDefaultValueOf" : true, | 199 "_IsStringWrapperSafeForDefaultValueOf" : true, |
| 200 | 200 |
| 201 // Only applicable to strings. | 201 // Only applicable to strings. |
| 202 "_HasCachedArrayIndex": true, | 202 "_HasCachedArrayIndex": true, |
| 203 "_GetCachedArrayIndex": true, | 203 "_GetCachedArrayIndex": true, |
| 204 "_OneByteSeqStringSetChar": true, | 204 "_OneByteSeqStringSetChar": true, |
| 205 "_TwoByteSeqStringSetChar": true, | 205 "_TwoByteSeqStringSetChar": true, |
| 206 | 206 |
| 207 // Only applicable to TypedArrays. |
| 208 "TypedArrayInitialize": true, |
| 209 |
| 207 // Only applicable to generators. | 210 // Only applicable to generators. |
| 208 "_GeneratorNext": true, | 211 "_GeneratorNext": true, |
| 209 "_GeneratorThrow": true, | 212 "_GeneratorThrow": true, |
| 210 | 213 |
| 211 // Only applicable to DataViews. | 214 // Only applicable to DataViews. |
| 212 "DataViewGetBuffer": true, | 215 "DataViewGetBuffer": true, |
| 213 "DataViewGetByteLength": true, | 216 "DataViewGetByteLength": true, |
| 214 "DataViewGetByteOffset": true | 217 "DataViewGetByteOffset": true |
| 215 }; | 218 }; |
| 216 | 219 |
| (...skipping 14 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 |