| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 | 194 |
| 195 // This function expects its first argument to be a non-smi. | 195 // This function expects its first argument to be a non-smi. |
| 196 "_IsStringWrapperSafeForDefaultValueOf" : true, | 196 "_IsStringWrapperSafeForDefaultValueOf" : true, |
| 197 | 197 |
| 198 // Only applicable to strings. | 198 // Only applicable to strings. |
| 199 "_HasCachedArrayIndex": true, | 199 "_HasCachedArrayIndex": true, |
| 200 "_GetCachedArrayIndex": true, | 200 "_GetCachedArrayIndex": true, |
| 201 "_OneByteSeqStringSetChar": true, | 201 "_OneByteSeqStringSetChar": true, |
| 202 "_TwoByteSeqStringSetChar": true, | 202 "_TwoByteSeqStringSetChar": true, |
| 203 | 203 |
| 204 // Internal helper that expects a Code reference |
| 205 "CatchInOptimizedCode": true |
| 206 |
| 204 // Only applicable to generators. | 207 // Only applicable to generators. |
| 205 "_GeneratorNext": true, | 208 "_GeneratorNext": true, |
| 206 "_GeneratorThrow": true, | 209 "_GeneratorThrow": true, |
| 207 | 210 |
| 208 // Only applicable to DataViews. | 211 // Only applicable to DataViews. |
| 209 "DataViewGetBuffer": true, | 212 "DataViewGetBuffer": true, |
| 210 "DataViewGetByteLength": true, | 213 "DataViewGetByteLength": true, |
| 211 "DataViewGetByteOffset": true | 214 "DataViewGetByteOffset": true |
| 212 }; | 215 }; |
| 213 | 216 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 226 if (name in knownProblems || name in currentlyUncallable) | 229 if (name in knownProblems || name in currentlyUncallable) |
| 227 continue; | 230 continue; |
| 228 print(name); | 231 print(name); |
| 229 var argc = nativeInfo[1]; | 232 var argc = nativeInfo[1]; |
| 230 testArgumentCount(name, argc); | 233 testArgumentCount(name, argc); |
| 231 testArgumentTypes(name, argc); | 234 testArgumentTypes(name, argc); |
| 232 } | 235 } |
| 233 } | 236 } |
| 234 | 237 |
| 235 testNatives(); | 238 testNatives(); |
| OLD | NEW |