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

Side by Side Diff: src/flags.cc

Issue 240193002: Serializer enable/disable flags need thread safety. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code comment response. Created 6 years, 8 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/arm64/assembler-arm64.cc ('k') | src/ia32/assembler-ia32.cc » ('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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 for (size_t i = 0; i < num_flags; ++i) { 538 for (size_t i = 0; i < num_flags; ++i) {
539 flags[i].Reset(); 539 flags[i].Reset();
540 } 540 }
541 } 541 }
542 542
543 543
544 // static 544 // static
545 void FlagList::PrintHelp() { 545 void FlagList::PrintHelp() {
546 #if V8_TARGET_ARCH_ARM 546 #if V8_TARGET_ARCH_ARM
547 CpuFeatures::PrintTarget(); 547 CpuFeatures::PrintTarget();
548 CpuFeatures::Probe(); 548 CpuFeatures::ProbeWithoutIsolate();
549 CpuFeatures::PrintFeatures(); 549 CpuFeatures::PrintFeatures();
550 #endif // V8_TARGET_ARCH_ARM 550 #endif // V8_TARGET_ARCH_ARM
551 551
552 printf("Usage:\n"); 552 printf("Usage:\n");
553 printf(" shell [options] -e string\n"); 553 printf(" shell [options] -e string\n");
554 printf(" execute string in V8\n"); 554 printf(" execute string in V8\n");
555 printf(" shell [options] file1 file2 ... filek\n"); 555 printf(" shell [options] file1 file2 ... filek\n");
556 printf(" run JavaScript scripts in file1, file2, ..., filek\n"); 556 printf(" run JavaScript scripts in file1, file2, ..., filek\n");
557 printf(" shell [options]\n"); 557 printf(" shell [options]\n");
558 printf(" shell [options] --shell [file1 file2 ... filek]\n"); 558 printf(" shell [options] --shell [file1 file2 ... filek]\n");
(...skipping 13 matching lines...) Expand all
572 572
573 573
574 // static 574 // static
575 void FlagList::EnforceFlagImplications() { 575 void FlagList::EnforceFlagImplications() {
576 #define FLAG_MODE_DEFINE_IMPLICATIONS 576 #define FLAG_MODE_DEFINE_IMPLICATIONS
577 #include "flag-definitions.h" 577 #include "flag-definitions.h"
578 #undef FLAG_MODE_DEFINE_IMPLICATIONS 578 #undef FLAG_MODE_DEFINE_IMPLICATIONS
579 } 579 }
580 580
581 } } // namespace v8::internal 581 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm64/assembler-arm64.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698