Changeset 34566 in webkit for trunk/JavaScriptCore/kjs/Shell.cpp
- Timestamp:
- Jun 15, 2008, 3:55:28 AM (17 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/Shell.cpp
r34552 r34566 270 270 // Use SEH for Release builds only to get rid of the crash report dialog 271 271 // (luckily the same tests fail in Release and Debug builds so far). Need to 272 // be in a separate main function because the kjsmain function requires object272 // be in a separate main function because the jscmain function requires object 273 273 // unwinding. 274 274 … … 281 281 #endif 282 282 283 int kjsmain(int argc, char** argv);283 int jscmain(int argc, char** argv); 284 284 285 285 int main(int argc, char** argv) … … 296 296 int res = 0; 297 297 TRY 298 res = kjsmain(argc, argv);298 res = jscmain(argc, argv); 299 299 EXCEPT(res = 3) 300 300 return res; … … 378 378 static void printUsageStatement() 379 379 { 380 fprintf(stderr, "Usage: testkjs[options] [files] [-- arguments]\n");380 fprintf(stderr, "Usage: jsc [options] [files] [-- arguments]\n"); 381 381 fprintf(stderr, " -d Dumps bytecode (debug builds only)\n"); 382 382 fprintf(stderr, " -f Specifies a source file (deprecated)\n"); … … 437 437 } 438 438 439 int kjsmain(int argc, char** argv)439 int jscmain(int argc, char** argv) 440 440 { 441 441 initializeThreading();
Note:
See TracChangeset
for help on using the changeset viewer.