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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 // we don't care what happens as long as we don't crash | 111 // we don't care what happens as long as we don't crash |
112 } | 112 } |
113 type++; | 113 type++; |
114 } | 114 } |
115 } | 115 } |
116 | 116 |
117 var knownProblems = { | 117 var knownProblems = { |
118 "Abort": true, | 118 "Abort": true, |
119 | 119 |
120 // Avoid calling the concat operation, because weird lengths | 120 // Avoid calling the concat operation, because weird lengths |
121 // may lead to out-of-memory. | 121 // may lead to out-of-memory. Ditto for StringBuilderJoin. |
122 "StringBuilderConcat": true, | 122 "StringBuilderConcat": true, |
| 123 "StringBuilderJoin": true, |
123 | 124 |
124 // These functions use pseudo-stack-pointers and are not robust | 125 // These functions use pseudo-stack-pointers and are not robust |
125 // to unexpected integer values. | 126 // to unexpected integer values. |
126 "DebugEvaluate": true, | 127 "DebugEvaluate": true, |
127 | 128 |
128 // These functions do nontrivial error checking in recursive calls, | 129 // These functions do nontrivial error checking in recursive calls, |
129 // which means that we have to propagate errors back. | 130 // which means that we have to propagate errors back. |
130 "SetFunctionBreakPoint": true, | 131 "SetFunctionBreakPoint": true, |
131 "SetScriptBreakPoint": true, | 132 "SetScriptBreakPoint": true, |
132 "PrepareStep": true, | 133 "PrepareStep": true, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 if (name in knownProblems || name in currentlyUncallable) | 199 if (name in knownProblems || name in currentlyUncallable) |
199 continue; | 200 continue; |
200 print(name); | 201 print(name); |
201 var argc = nativeInfo[1]; | 202 var argc = nativeInfo[1]; |
202 testArgumentCount(name, argc); | 203 testArgumentCount(name, argc); |
203 testArgumentTypes(name, argc); | 204 testArgumentTypes(name, argc); |
204 } | 205 } |
205 } | 206 } |
206 | 207 |
207 testNatives(); | 208 testNatives(); |
OLD | NEW |