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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 180 |
181 // Tries to allocate based on argument, and (correctly) throws | 181 // Tries to allocate based on argument, and (correctly) throws |
182 // out-of-memory if the request is too large. In practice, the | 182 // out-of-memory if the request is too large. In practice, the |
183 // size will be the number of captures of a RegExp. | 183 // size will be the number of captures of a RegExp. |
184 "RegExpConstructResult": true, | 184 "RegExpConstructResult": true, |
185 "_RegExpConstructResult": true, | 185 "_RegExpConstructResult": true, |
186 | 186 |
187 // This functions perform some checks compile time (they require one of their | 187 // This functions perform some checks compile time (they require one of their |
188 // arguments to be a compile time smi). | 188 // arguments to be a compile time smi). |
189 "_DateField": true, | 189 "_DateField": true, |
190 "_SetDateField": true, | |
191 "_GetFromCache": true, | 190 "_GetFromCache": true, |
192 | 191 |
193 // This function expects its first argument to be a non-smi. | 192 // This function expects its first argument to be a non-smi. |
194 "_IsStringWrapperSafeForDefaultValueOf" : true, | 193 "_IsStringWrapperSafeForDefaultValueOf" : true, |
195 | 194 |
196 // Only applicable to strings. | 195 // Only applicable to strings. |
197 "_HasCachedArrayIndex": true, | 196 "_HasCachedArrayIndex": true, |
198 "_GetCachedArrayIndex": true | 197 "_GetCachedArrayIndex": true |
199 }; | 198 }; |
200 | 199 |
(...skipping 10 matching lines...) Expand all Loading... |
211 if (name in knownProblems || name in currentlyUncallable) | 210 if (name in knownProblems || name in currentlyUncallable) |
212 continue; | 211 continue; |
213 print(name); | 212 print(name); |
214 var argc = nativeInfo[1]; | 213 var argc = nativeInfo[1]; |
215 testArgumentCount(name, argc); | 214 testArgumentCount(name, argc); |
216 testArgumentTypes(name, argc); | 215 testArgumentTypes(name, argc); |
217 } | 216 } |
218 } | 217 } |
219 | 218 |
220 testNatives(); | 219 testNatives(); |
OLD | NEW |