| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 | 175 |
| 176 // Only applicable to strings. | 176 // Only applicable to strings. |
| 177 "_HasCachedArrayIndex": true, | 177 "_HasCachedArrayIndex": true, |
| 178 "_GetCachedArrayIndex": true, | 178 "_GetCachedArrayIndex": true, |
| 179 "_OneByteSeqStringSetChar": true, | 179 "_OneByteSeqStringSetChar": true, |
| 180 "_TwoByteSeqStringSetChar": true, | 180 "_TwoByteSeqStringSetChar": true, |
| 181 | 181 |
| 182 // Only applicable to TypedArrays. | 182 // Only applicable to TypedArrays. |
| 183 "_TypedArrayInitialize": true, | 183 "_TypedArrayInitialize": true, |
| 184 | 184 |
| 185 // Only applicable to loading mutable doubles. | |
| 186 "LoadMutableDouble": true, | |
| 187 | |
| 188 // Only applicable to generators. | 185 // Only applicable to generators. |
| 189 "_GeneratorNext": true, | 186 "_GeneratorNext": true, |
| 190 "_GeneratorThrow": true, | 187 "_GeneratorThrow": true, |
| 191 | 188 |
| 192 // Only applicable to DataViews. | 189 // Only applicable to DataViews. |
| 193 "_DataViewInitialize": true, | 190 "_DataViewInitialize": true, |
| 194 }; | 191 }; |
| 195 | 192 |
| 196 var currentlyUncallable = { | 193 var currentlyUncallable = { |
| 197 // We need to find a way to test this without breaking the system. | 194 // We need to find a way to test this without breaking the system. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 210 if (name in knownProblems || name in currentlyUncallable) | 207 if (name in knownProblems || name in currentlyUncallable) |
| 211 continue; | 208 continue; |
| 212 print(name); | 209 print(name); |
| 213 var argc = nativeInfo[1]; | 210 var argc = nativeInfo[1]; |
| 214 testArgumentCount(name, argc); | 211 testArgumentCount(name, argc); |
| 215 testArgumentTypes(name, argc); | 212 testArgumentTypes(name, argc); |
| 216 } | 213 } |
| 217 } | 214 } |
| 218 | 215 |
| 219 testNatives(); | 216 testNatives(); |
| OLD | NEW |