OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 | 162 |
163 // Performance critical function which cannot afford type checks. | 163 // Performance critical function which cannot afford type checks. |
164 "_CallFunction": true, | 164 "_CallFunction": true, |
165 | 165 |
166 // Tries to allocate based on argument, and (correctly) throws | 166 // Tries to allocate based on argument, and (correctly) throws |
167 // out-of-memory if the request is too large. In practice, the | 167 // out-of-memory if the request is too large. In practice, the |
168 // size will be the number of captures of a RegExp. | 168 // size will be the number of captures of a RegExp. |
169 "RegExpConstructResult": true, | 169 "RegExpConstructResult": true, |
170 "_RegExpConstructResult": true, | 170 "_RegExpConstructResult": true, |
171 | 171 |
| 172 // This function performs some checks compile time (it requires its first |
| 173 // argument to be a compile time smi). |
| 174 "_GetFromCache": true, |
| 175 |
172 // LiveEdit feature is under development currently and has fragile input. | 176 // LiveEdit feature is under development currently and has fragile input. |
173 "LiveEditFindSharedFunctionInfosForScript": true, | 177 "LiveEditFindSharedFunctionInfosForScript": true, |
174 "LiveEditGatherCompileInfo": true, | 178 "LiveEditGatherCompileInfo": true, |
175 "LiveEditReplaceScript": true, | 179 "LiveEditReplaceScript": true, |
176 "LiveEditReplaceFunctionCode": true, | 180 "LiveEditReplaceFunctionCode": true, |
177 "LiveEditRelinkFunctionToScript": true, | 181 "LiveEditRelinkFunctionToScript": true, |
178 "LiveEditPatchFunctionPositions": true, | 182 "LiveEditPatchFunctionPositions": true, |
179 "LiveEditCheckStackActivations": true | 183 "LiveEditCheckStackActivations": true |
180 }; | 184 }; |
181 | 185 |
(...skipping 10 matching lines...) Expand all Loading... |
192 if (name in knownProblems || name in currentlyUncallable) | 196 if (name in knownProblems || name in currentlyUncallable) |
193 continue; | 197 continue; |
194 print(name); | 198 print(name); |
195 var argc = nativeInfo[1]; | 199 var argc = nativeInfo[1]; |
196 testArgumentCount(name, argc); | 200 testArgumentCount(name, argc); |
197 testArgumentTypes(name, argc); | 201 testArgumentTypes(name, argc); |
198 } | 202 } |
199 } | 203 } |
200 | 204 |
201 testNatives(); | 205 testNatives(); |
OLD | NEW |