| 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 "DataViewInitialize": true, | 215 "DataViewInitialize": true, |
| 213 "DataViewGetBuffer": true, | 216 "DataViewGetBuffer": true, |
| 214 "DataViewGetByteLength": true, | 217 "DataViewGetByteLength": true, |
| 215 "DataViewGetByteOffset": true | 218 "DataViewGetByteOffset": true |
| 216 }; | 219 }; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 232 if (name in knownProblems || name in currentlyUncallable) | 235 if (name in knownProblems || name in currentlyUncallable) |
| 233 continue; | 236 continue; |
| 234 print(name); | 237 print(name); |
| 235 var argc = nativeInfo[1]; | 238 var argc = nativeInfo[1]; |
| 236 testArgumentCount(name, argc); | 239 testArgumentCount(name, argc); |
| 237 testArgumentTypes(name, argc); | 240 testArgumentTypes(name, argc); |
| 238 } | 241 } |
| 239 } | 242 } |
| 240 | 243 |
| 241 testNatives(); | 244 testNatives(); |
| OLD | NEW |