Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: test/mjsunit/fuzz-natives.js

Issue 660245: Faster moving FixedArray elements around. (Closed)
Patch Set: Next round Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/mjsunit/array-unshift.js ('k') | test/mjsunit/undeletable-functions.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 "CreateObjectLiteralBoilerplate": true, 140 "CreateObjectLiteralBoilerplate": true,
141 "CloneLiteralBoilerplate": true, 141 "CloneLiteralBoilerplate": true,
142 "CloneShallowLiteralBoilerplate": true, 142 "CloneShallowLiteralBoilerplate": true,
143 "CreateArrayLiteralBoilerplate": true, 143 "CreateArrayLiteralBoilerplate": true,
144 "IS_VAR": true, 144 "IS_VAR": true,
145 "ResolvePossiblyDirectEval": true, 145 "ResolvePossiblyDirectEval": true,
146 "Log": true, 146 "Log": true,
147 "DeclareGlobals": true, 147 "DeclareGlobals": true,
148 148
149 "PromoteScheduledException": true, 149 "PromoteScheduledException": true,
150 "DeleteHandleScopeExtensions": true 150 "DeleteHandleScopeExtensions": true,
151
152 // That can only be invoked on Array.prototype.
153 "FinishArrayPrototypeSetup": true
151 }; 154 };
152 155
153 var currentlyUncallable = { 156 var currentlyUncallable = {
154 // We need to find a way to test this without breaking the system. 157 // We need to find a way to test this without breaking the system.
155 "SystemBreak": true 158 "SystemBreak": true
156 }; 159 };
157 160
158 function testNatives() { 161 function testNatives() {
159 var allNatives = %ListNatives(); 162 var allNatives = %ListNatives();
160 for (var i = 0; i < allNatives.length; i++) { 163 for (var i = 0; i < allNatives.length; i++) {
161 var nativeInfo = allNatives[i]; 164 var nativeInfo = allNatives[i];
162 var name = nativeInfo[0]; 165 var name = nativeInfo[0];
163 if (name in knownProblems || name in currentlyUncallable) 166 if (name in knownProblems || name in currentlyUncallable)
164 continue; 167 continue;
165 print(name); 168 print(name);
166 var argc = nativeInfo[1]; 169 var argc = nativeInfo[1];
167 testArgumentCount(name); 170 testArgumentCount(name);
168 testArgumentTypes(name, argc); 171 testArgumentTypes(name, argc);
169 } 172 }
170 } 173 }
171 174
172 testNatives(); 175 testNatives();
OLDNEW
« no previous file with comments | « test/mjsunit/array-unshift.js ('k') | test/mjsunit/undeletable-functions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698