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

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

Issue 12488006: Parallel recompilation: remove interrupt for code generation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 7 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 | Annotate | Revision Log
« no previous file with comments | « test/mjsunit/fuzz-natives-part2.js ('k') | test/mjsunit/fuzz-natives-part4.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 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 "NewFunctionContext": true, 144 "NewFunctionContext": true,
145 "NewArgumentsFast": true, 145 "NewArgumentsFast": true,
146 "NewStrictArgumentsFast": true, 146 "NewStrictArgumentsFast": true,
147 "PushWithContext": true, 147 "PushWithContext": true,
148 "PushCatchContext": true, 148 "PushCatchContext": true,
149 "PushBlockContext": true, 149 "PushBlockContext": true,
150 "PushModuleContext": true, 150 "PushModuleContext": true,
151 "LazyCompile": true, 151 "LazyCompile": true,
152 "LazyRecompile": true, 152 "LazyRecompile": true,
153 "ParallelRecompile": true, 153 "ParallelRecompile": true,
154 "InstallRecompiledCode": true,
154 "NotifyDeoptimized": true, 155 "NotifyDeoptimized": true,
155 "NotifyOSR": true, 156 "NotifyOSR": true,
156 "CreateObjectLiteralBoilerplate": true, 157 "CreateObjectLiteralBoilerplate": true,
157 "CloneLiteralBoilerplate": true, 158 "CloneLiteralBoilerplate": true,
158 "CloneShallowLiteralBoilerplate": true, 159 "CloneShallowLiteralBoilerplate": true,
159 "CreateArrayLiteralBoilerplate": true, 160 "CreateArrayLiteralBoilerplate": true,
160 "IS_VAR": true, 161 "IS_VAR": true,
161 "ResolvePossiblyDirectEval": true, 162 "ResolvePossiblyDirectEval": true,
162 "Log": true, 163 "Log": true,
163 "DeclareGlobals": true, 164 "DeclareGlobals": true,
(...skipping 28 matching lines...) Expand all
192 "_GetFromCache": true, 193 "_GetFromCache": true,
193 194
194 // This function expects its first argument to be a non-smi. 195 // This function expects its first argument to be a non-smi.
195 "_IsStringWrapperSafeForDefaultValueOf" : true, 196 "_IsStringWrapperSafeForDefaultValueOf" : true,
196 197
197 // Only applicable to strings. 198 // Only applicable to strings.
198 "_HasCachedArrayIndex": true, 199 "_HasCachedArrayIndex": true,
199 "_GetCachedArrayIndex": true, 200 "_GetCachedArrayIndex": true,
200 "_OneByteSeqStringSetChar": true, 201 "_OneByteSeqStringSetChar": true,
201 "_TwoByteSeqStringSetChar": true, 202 "_TwoByteSeqStringSetChar": true,
202
203 // Only for debugging parallel recompilation.
204 "InstallRecompiledCode": true,
205 "ForceParallelRecompile": true
206 }; 203 };
207 204
208 var currentlyUncallable = { 205 var currentlyUncallable = {
209 // We need to find a way to test this without breaking the system. 206 // We need to find a way to test this without breaking the system.
210 "SystemBreak": true 207 "SystemBreak": true
211 }; 208 };
212 209
213 function testNatives() { 210 function testNatives() {
214 var allNatives = %ListNatives(); 211 var allNatives = %ListNatives();
215 var start = (allNatives.length >> 2)*2; 212 var start = (allNatives.length >> 2)*2;
216 var stop = (allNatives.length >> 2)*3; 213 var stop = (allNatives.length >> 2)*3;
217 for (var i = start; i < stop; i++) { 214 for (var i = start; i < stop; i++) {
218 var nativeInfo = allNatives[i]; 215 var nativeInfo = allNatives[i];
219 var name = nativeInfo[0]; 216 var name = nativeInfo[0];
220 if (name in knownProblems || name in currentlyUncallable) 217 if (name in knownProblems || name in currentlyUncallable)
221 continue; 218 continue;
222 print(name); 219 print(name);
223 var argc = nativeInfo[1]; 220 var argc = nativeInfo[1];
224 testArgumentCount(name, argc); 221 testArgumentCount(name, argc);
225 testArgumentTypes(name, argc); 222 testArgumentTypes(name, argc);
226 } 223 }
227 } 224 }
228 225
229 testNatives(); 226 testNatives();
OLDNEW
« no previous file with comments | « test/mjsunit/fuzz-natives-part2.js ('k') | test/mjsunit/fuzz-natives-part4.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698