| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 "DeclareGlobals": true, | 160 "DeclareGlobals": true, |
| 161 | 161 |
| 162 "PromoteScheduledException": true, | 162 "PromoteScheduledException": true, |
| 163 "DeleteHandleScopeExtensions": true, | 163 "DeleteHandleScopeExtensions": true, |
| 164 | 164 |
| 165 // That can only be invoked on Array.prototype. | 165 // That can only be invoked on Array.prototype. |
| 166 "FinishArrayPrototypeSetup": true, | 166 "FinishArrayPrototypeSetup": true, |
| 167 | 167 |
| 168 "_SwapElements": true, | 168 "_SwapElements": true, |
| 169 | 169 |
| 170 // Performance critical function which cannot afford type checks. | 170 // Performance critical functions which cannot afford type checks. |
| 171 "_IsNativeOrStrictMode": true, |
| 171 "_CallFunction": true, | 172 "_CallFunction": true, |
| 172 | 173 |
| 173 // Tries to allocate based on argument, and (correctly) throws | 174 // Tries to allocate based on argument, and (correctly) throws |
| 174 // out-of-memory if the request is too large. In practice, the | 175 // out-of-memory if the request is too large. In practice, the |
| 175 // size will be the number of captures of a RegExp. | 176 // size will be the number of captures of a RegExp. |
| 176 "RegExpConstructResult": true, | 177 "RegExpConstructResult": true, |
| 177 "_RegExpConstructResult": true, | 178 "_RegExpConstructResult": true, |
| 178 | 179 |
| 179 // This function performs some checks compile time (it requires its first | 180 // This function performs some checks compile time (it requires its first |
| 180 // argument to be a compile time smi). | 181 // argument to be a compile time smi). |
| (...skipping 20 matching lines...) Expand all Loading... |
| 201 if (name in knownProblems || name in currentlyUncallable) | 202 if (name in knownProblems || name in currentlyUncallable) |
| 202 continue; | 203 continue; |
| 203 print(name); | 204 print(name); |
| 204 var argc = nativeInfo[1]; | 205 var argc = nativeInfo[1]; |
| 205 testArgumentCount(name, argc); | 206 testArgumentCount(name, argc); |
| 206 testArgumentTypes(name, argc); | 207 testArgumentTypes(name, argc); |
| 207 } | 208 } |
| 208 } | 209 } |
| 209 | 210 |
| 210 testNatives(); | 211 testNatives(); |
| OLD | NEW |