| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |