| OLD | NEW |
| 1 // Copyright 2008 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 |
| 11 // with the distribution. | 11 // with the distribution. |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 134 |
| 135 // Too slow. | 135 // Too slow. |
| 136 "DebugReferencedBy": true, | 136 "DebugReferencedBy": true, |
| 137 | 137 |
| 138 // Calling disable/enable access checks may interfere with the | 138 // Calling disable/enable access checks may interfere with the |
| 139 // the rest of the tests. | 139 // the rest of the tests. |
| 140 "DisableAccessChecks": true, | 140 "DisableAccessChecks": true, |
| 141 "EnableAccessChecks": true, | 141 "EnableAccessChecks": true, |
| 142 | 142 |
| 143 // These functions should not be callable as runtime functions. | 143 // These functions should not be callable as runtime functions. |
| 144 "NewContext": true, | 144 "NewFunctionContext": true, |
| 145 "NewArgumentsFast": true, | 145 "NewArgumentsFast": true, |
| 146 "PushContext": true, | 146 "NewStrictArgumentsFast": true, |
| 147 "PushWithContext": true, |
| 148 "PushCatchContext": true, |
| 147 "LazyCompile": true, | 149 "LazyCompile": true, |
| 148 "LazyRecompile": true, | 150 "LazyRecompile": true, |
| 149 "NotifyDeoptimized": true, | 151 "NotifyDeoptimized": true, |
| 150 "NotifyOSR": true, | 152 "NotifyOSR": true, |
| 151 "CreateObjectLiteralBoilerplate": true, | 153 "CreateObjectLiteralBoilerplate": true, |
| 152 "CloneLiteralBoilerplate": true, | 154 "CloneLiteralBoilerplate": true, |
| 153 "CloneShallowLiteralBoilerplate": true, | 155 "CloneShallowLiteralBoilerplate": true, |
| 154 "CreateArrayLiteralBoilerplate": true, | 156 "CreateArrayLiteralBoilerplate": true, |
| 155 "IS_VAR": true, | 157 "IS_VAR": true, |
| 156 "ResolvePossiblyDirectEval": true, | 158 "ResolvePossiblyDirectEval": true, |
| 157 "Log": true, | 159 "Log": true, |
| 158 "DeclareGlobals": true, | 160 "DeclareGlobals": true, |
| 159 | 161 |
| 160 "PromoteScheduledException": true, | 162 "PromoteScheduledException": true, |
| 161 "DeleteHandleScopeExtensions": true, | 163 "DeleteHandleScopeExtensions": true, |
| 162 | 164 |
| 163 // That can only be invoked on Array.prototype. | 165 // That can only be invoked on Array.prototype. |
| 164 "FinishArrayPrototypeSetup": true, | 166 "FinishArrayPrototypeSetup": true, |
| 165 | 167 |
| 166 "_SwapElements": true, | 168 "_SwapElements": true, |
| 167 | 169 |
| 168 // Performance critical function which cannot afford type checks. | 170 // Performance critical functions which cannot afford type checks. |
| 171 "_IsNativeOrStrictMode": true, |
| 169 "_CallFunction": true, | 172 "_CallFunction": true, |
| 170 | 173 |
| 171 // Tries to allocate based on argument, and (correctly) throws | 174 // Tries to allocate based on argument, and (correctly) throws |
| 172 // 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 |
| 173 // size will be the number of captures of a RegExp. | 176 // size will be the number of captures of a RegExp. |
| 174 "RegExpConstructResult": true, | 177 "RegExpConstructResult": true, |
| 175 "_RegExpConstructResult": true, | 178 "_RegExpConstructResult": true, |
| 176 | 179 |
| 177 // This function performs some checks compile time (it requires its first | 180 // This function performs some checks compile time (it requires its first |
| 178 // argument to be a compile time smi). | 181 // argument to be a compile time smi). |
| (...skipping 20 matching lines...) Expand all Loading... |
| 199 if (name in knownProblems || name in currentlyUncallable) | 202 if (name in knownProblems || name in currentlyUncallable) |
| 200 continue; | 203 continue; |
| 201 print(name); | 204 print(name); |
| 202 var argc = nativeInfo[1]; | 205 var argc = nativeInfo[1]; |
| 203 testArgumentCount(name, argc); | 206 testArgumentCount(name, argc); |
| 204 testArgumentTypes(name, argc); | 207 testArgumentTypes(name, argc); |
| 205 } | 208 } |
| 206 } | 209 } |
| 207 | 210 |
| 208 testNatives(); | 211 testNatives(); |
| OLD | NEW |