| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 "CloneShallowLiteralBoilerplate": true, | 155 "CloneShallowLiteralBoilerplate": true, |
| 156 "CreateArrayLiteralBoilerplate": true, | 156 "CreateArrayLiteralBoilerplate": true, |
| 157 "IS_VAR": true, | 157 "IS_VAR": true, |
| 158 "ResolvePossiblyDirectEval": true, | 158 "ResolvePossiblyDirectEval": true, |
| 159 "Log": true, | 159 "Log": true, |
| 160 "DeclareGlobals": true, | 160 "DeclareGlobals": true, |
| 161 | 161 |
| 162 "PromoteScheduledException": true, | 162 "PromoteScheduledException": true, |
| 163 "DeleteHandleScopeExtensions": true, | 163 "DeleteHandleScopeExtensions": true, |
| 164 | 164 |
| 165 // Requires integer arguments to be non-negative. |
| 166 "Apply": true, |
| 167 |
| 165 // That can only be invoked on Array.prototype. | 168 // That can only be invoked on Array.prototype. |
| 166 "FinishArrayPrototypeSetup": true, | 169 "FinishArrayPrototypeSetup": true, |
| 167 | 170 |
| 168 "_SwapElements": true, | 171 "_SwapElements": true, |
| 169 | 172 |
| 170 // Performance critical functions which cannot afford type checks. | 173 // Performance critical functions which cannot afford type checks. |
| 171 "_IsNativeOrStrictMode": true, | 174 "_IsNativeOrStrictMode": true, |
| 172 "_CallFunction": true, | 175 "_CallFunction": true, |
| 173 | 176 |
| 174 // Tries to allocate based on argument, and (correctly) throws | 177 // Tries to allocate based on argument, and (correctly) throws |
| (...skipping 27 matching lines...) Expand all Loading... |
| 202 if (name in knownProblems || name in currentlyUncallable) | 205 if (name in knownProblems || name in currentlyUncallable) |
| 203 continue; | 206 continue; |
| 204 print(name); | 207 print(name); |
| 205 var argc = nativeInfo[1]; | 208 var argc = nativeInfo[1]; |
| 206 testArgumentCount(name, argc); | 209 testArgumentCount(name, argc); |
| 207 testArgumentTypes(name, argc); | 210 testArgumentTypes(name, argc); |
| 208 } | 211 } |
| 209 } | 212 } |
| 210 | 213 |
| 211 testNatives(); | 214 testNatives(); |
| OLD | NEW |