| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 "ResolvePossiblyDirectEval": true, | 153 "ResolvePossiblyDirectEval": true, |
| 154 "Log": true, | 154 "Log": true, |
| 155 "DeclareGlobals": true, | 155 "DeclareGlobals": true, |
| 156 | 156 |
| 157 "PromoteScheduledException": true, | 157 "PromoteScheduledException": true, |
| 158 "DeleteHandleScopeExtensions": true, | 158 "DeleteHandleScopeExtensions": true, |
| 159 | 159 |
| 160 // That can only be invoked on Array.prototype. | 160 // That can only be invoked on Array.prototype. |
| 161 "FinishArrayPrototypeSetup": true, | 161 "FinishArrayPrototypeSetup": true, |
| 162 | 162 |
| 163 "_SwapElements": true, |
| 164 |
| 163 // Performance critical function which cannot afford type checks. | 165 // Performance critical function which cannot afford type checks. |
| 164 "_CallFunction": true, | 166 "_CallFunction": true, |
| 165 | 167 |
| 166 // Tries to allocate based on argument, and (correctly) throws | 168 // Tries to allocate based on argument, and (correctly) throws |
| 167 // out-of-memory if the request is too large. In practice, the | 169 // out-of-memory if the request is too large. In practice, the |
| 168 // size will be the number of captures of a RegExp. | 170 // size will be the number of captures of a RegExp. |
| 169 "RegExpConstructResult": true, | 171 "RegExpConstructResult": true, |
| 170 "_RegExpConstructResult": true, | 172 "_RegExpConstructResult": true, |
| 171 | 173 |
| 172 // This function performs some checks compile time (it requires its first | 174 // This function performs some checks compile time (it requires its first |
| (...skipping 23 matching lines...) Expand all Loading... |
| 196 if (name in knownProblems || name in currentlyUncallable) | 198 if (name in knownProblems || name in currentlyUncallable) |
| 197 continue; | 199 continue; |
| 198 print(name); | 200 print(name); |
| 199 var argc = nativeInfo[1]; | 201 var argc = nativeInfo[1]; |
| 200 testArgumentCount(name, argc); | 202 testArgumentCount(name, argc); |
| 201 testArgumentTypes(name, argc); | 203 testArgumentTypes(name, argc); |
| 202 } | 204 } |
| 203 } | 205 } |
| 204 | 206 |
| 205 testNatives(); | 207 testNatives(); |
| OLD | NEW |