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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 // Performance critical functions which cannot afford type checks. | 177 // Performance critical functions which cannot afford type checks. |
178 "_IsNativeOrStrictMode": true, | 178 "_IsNativeOrStrictMode": true, |
179 "_CallFunction": true, | 179 "_CallFunction": true, |
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 function performs some checks compile time (it requires its first | 187 // This functions perform some checks compile time (they require one of their |
188 // argument to be a compile time smi). | 188 // arguments to be a compile time smi). |
| 189 "_DateField": true, |
189 "_GetFromCache": true, | 190 "_GetFromCache": true, |
190 | 191 |
191 // This function expects its first argument to be a non-smi. | 192 // This function expects its first argument to be a non-smi. |
192 "_IsStringWrapperSafeForDefaultValueOf" : true, | 193 "_IsStringWrapperSafeForDefaultValueOf" : true, |
193 | 194 |
194 // Only applicable to strings. | 195 // Only applicable to strings. |
195 "_HasCachedArrayIndex": true, | 196 "_HasCachedArrayIndex": true, |
196 "_GetCachedArrayIndex": true | 197 "_GetCachedArrayIndex": true |
197 }; | 198 }; |
198 | 199 |
(...skipping 10 matching lines...) Expand all Loading... |
209 if (name in knownProblems || name in currentlyUncallable) | 210 if (name in knownProblems || name in currentlyUncallable) |
210 continue; | 211 continue; |
211 print(name); | 212 print(name); |
212 var argc = nativeInfo[1]; | 213 var argc = nativeInfo[1]; |
213 testArgumentCount(name, argc); | 214 testArgumentCount(name, argc); |
214 testArgumentTypes(name, argc); | 215 testArgumentTypes(name, argc); |
215 } | 216 } |
216 } | 217 } |
217 | 218 |
218 testNatives(); | 219 testNatives(); |
OLD | NEW |