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

Side by Side Diff: src/flags.cc

Issue 340373002: [Arm]: Simplify compile-time Arm feature detection. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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/flag-definitions.h ('k') | tools/gyp/v8.gyp » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <ctype.h> 5 #include <ctype.h>
6 #include <stdlib.h> 6 #include <stdlib.h>
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/assembler.h" 10 #include "src/assembler.h"
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 // static 510 // static
511 void FlagList::ResetAllFlags() { 511 void FlagList::ResetAllFlags() {
512 for (size_t i = 0; i < num_flags; ++i) { 512 for (size_t i = 0; i < num_flags; ++i) {
513 flags[i].Reset(); 513 flags[i].Reset();
514 } 514 }
515 } 515 }
516 516
517 517
518 // static 518 // static
519 void FlagList::PrintHelp() { 519 void FlagList::PrintHelp() {
520 CpuFeatures::Probe(false);
520 CpuFeatures::PrintTarget(); 521 CpuFeatures::PrintTarget();
521 CpuFeatures::PrintFeatures(); 522 CpuFeatures::PrintFeatures();
522 523
523 printf("Usage:\n"); 524 printf("Usage:\n");
524 printf(" shell [options] -e string\n"); 525 printf(" shell [options] -e string\n");
525 printf(" execute string in V8\n"); 526 printf(" execute string in V8\n");
526 printf(" shell [options] file1 file2 ... filek\n"); 527 printf(" shell [options] file1 file2 ... filek\n");
527 printf(" run JavaScript scripts in file1, file2, ..., filek\n"); 528 printf(" run JavaScript scripts in file1, file2, ..., filek\n");
528 printf(" shell [options]\n"); 529 printf(" shell [options]\n");
529 printf(" shell [options] --shell [file1 file2 ... filek]\n"); 530 printf(" shell [options] --shell [file1 file2 ... filek]\n");
(...skipping 13 matching lines...) Expand all
543 544
544 545
545 // static 546 // static
546 void FlagList::EnforceFlagImplications() { 547 void FlagList::EnforceFlagImplications() {
547 #define FLAG_MODE_DEFINE_IMPLICATIONS 548 #define FLAG_MODE_DEFINE_IMPLICATIONS
548 #include "src/flag-definitions.h" 549 #include "src/flag-definitions.h"
549 #undef FLAG_MODE_DEFINE_IMPLICATIONS 550 #undef FLAG_MODE_DEFINE_IMPLICATIONS
550 } 551 }
551 552
552 } } // namespace v8::internal 553 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698