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

Side by Side Diff: src/flags.cc

Issue 18037002: Clean up the usage of V8_TARGET_ARCH_${arch} and V8_HOST_ARCH_${arch} (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 5 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/execution.h ('k') | src/frames.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 16 matching lines...) Expand all
27 27
28 #include <ctype.h> 28 #include <ctype.h>
29 #include <stdlib.h> 29 #include <stdlib.h>
30 30
31 #include "v8.h" 31 #include "v8.h"
32 32
33 #include "platform.h" 33 #include "platform.h"
34 #include "smart-pointers.h" 34 #include "smart-pointers.h"
35 #include "string-stream.h" 35 #include "string-stream.h"
36 36
37 #ifdef V8_TARGET_ARCH_ARM 37 #if V8_TARGET_ARCH_ARM
38 #include "arm/assembler-arm-inl.h" 38 #include "arm/assembler-arm-inl.h"
39 #endif 39 #endif
40 40
41 namespace v8 { 41 namespace v8 {
42 namespace internal { 42 namespace internal {
43 43
44 // Define all of our flags. 44 // Define all of our flags.
45 #define FLAG_MODE_DEFINE 45 #define FLAG_MODE_DEFINE
46 #include "flag-definitions.h" 46 #include "flag-definitions.h"
47 47
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 // static 513 // static
514 void FlagList::ResetAllFlags() { 514 void FlagList::ResetAllFlags() {
515 for (size_t i = 0; i < num_flags; ++i) { 515 for (size_t i = 0; i < num_flags; ++i) {
516 flags[i].Reset(); 516 flags[i].Reset();
517 } 517 }
518 } 518 }
519 519
520 520
521 // static 521 // static
522 void FlagList::PrintHelp() { 522 void FlagList::PrintHelp() {
523 #ifdef V8_TARGET_ARCH_ARM 523 #if V8_TARGET_ARCH_ARM
524 CpuFeatures::PrintTarget(); 524 CpuFeatures::PrintTarget();
525 CpuFeatures::Probe(); 525 CpuFeatures::Probe();
526 CpuFeatures::PrintFeatures(); 526 CpuFeatures::PrintFeatures();
527 #endif // V8_TARGET_ARCH_ARM 527 #endif // V8_TARGET_ARCH_ARM
528 528
529 printf("Usage:\n"); 529 printf("Usage:\n");
530 printf(" shell [options] -e string\n"); 530 printf(" shell [options] -e string\n");
531 printf(" execute string in V8\n"); 531 printf(" execute string in V8\n");
532 printf(" shell [options] file1 file2 ... filek\n"); 532 printf(" shell [options] file1 file2 ... filek\n");
533 printf(" run JavaScript scripts in file1, file2, ..., filek\n"); 533 printf(" run JavaScript scripts in file1, file2, ..., filek\n");
(...skipping 14 matching lines...) Expand all
548 } 548 }
549 549
550 550
551 void FlagList::EnforceFlagImplications() { 551 void FlagList::EnforceFlagImplications() {
552 #define FLAG_MODE_DEFINE_IMPLICATIONS 552 #define FLAG_MODE_DEFINE_IMPLICATIONS
553 #include "flag-definitions.h" 553 #include "flag-definitions.h"
554 #undef FLAG_MODE_DEFINE_IMPLICATIONS 554 #undef FLAG_MODE_DEFINE_IMPLICATIONS
555 } 555 }
556 556
557 } } // namespace v8::internal 557 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/execution.h ('k') | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698