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

Side by Side Diff: src/mksnapshot.cc

Issue 23414008: Revert "Snapshot i18n Javascript code" and "Fix mjsunit/debug-script after r16298". (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 | « src/i18n.js ('k') | src/natives.h » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 fprintf(stderr, "\n"); 307 fprintf(stderr, "\n");
308 } 308 }
309 309
310 310
311 int main(int argc, char** argv) { 311 int main(int argc, char** argv) {
312 V8::InitializeICU(); 312 V8::InitializeICU();
313 313
314 // By default, log code create information in the snapshot. 314 // By default, log code create information in the snapshot.
315 i::FLAG_log_code = true; 315 i::FLAG_log_code = true;
316 316
317 // Disable the i18n extension, as it doesn't support being snapshotted yet.
318 i::FLAG_enable_i18n = false;
319
317 // Print the usage if an error occurs when parsing the command line 320 // Print the usage if an error occurs when parsing the command line
318 // flags or if the help flag is set. 321 // flags or if the help flag is set.
319 int result = i::FlagList::SetFlagsFromCommandLine(&argc, argv, true); 322 int result = i::FlagList::SetFlagsFromCommandLine(&argc, argv, true);
320 if (result > 0 || argc != 2 || i::FLAG_help) { 323 if (result > 0 || argc != 2 || i::FLAG_help) {
321 ::printf("Usage: %s [flag] ... outfile\n", argv[0]); 324 ::printf("Usage: %s [flag] ... outfile\n", argv[0]);
322 i::FlagList::PrintHelp(); 325 i::FlagList::PrintHelp();
323 return !i::FLAG_help; 326 return !i::FLAG_help;
324 } 327 }
325 #ifdef COMPRESS_STARTUP_DATA_BZ2 328 #ifdef COMPRESS_STARTUP_DATA_BZ2
326 BZip2Decompressor natives_decompressor; 329 BZip2Decompressor natives_decompressor;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 "", 433 "",
431 ser.CurrentAllocationAddress(i::NEW_SPACE), 434 ser.CurrentAllocationAddress(i::NEW_SPACE),
432 ser.CurrentAllocationAddress(i::OLD_POINTER_SPACE), 435 ser.CurrentAllocationAddress(i::OLD_POINTER_SPACE),
433 ser.CurrentAllocationAddress(i::OLD_DATA_SPACE), 436 ser.CurrentAllocationAddress(i::OLD_DATA_SPACE),
434 ser.CurrentAllocationAddress(i::CODE_SPACE), 437 ser.CurrentAllocationAddress(i::CODE_SPACE),
435 ser.CurrentAllocationAddress(i::MAP_SPACE), 438 ser.CurrentAllocationAddress(i::MAP_SPACE),
436 ser.CurrentAllocationAddress(i::CELL_SPACE), 439 ser.CurrentAllocationAddress(i::CELL_SPACE),
437 ser.CurrentAllocationAddress(i::PROPERTY_CELL_SPACE)); 440 ser.CurrentAllocationAddress(i::PROPERTY_CELL_SPACE));
438 return 0; 441 return 0;
439 } 442 }
OLDNEW
« no previous file with comments | « src/i18n.js ('k') | src/natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698