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

Unified Diff: src/flags.cc

Issue 285233010: Decouple CpuFeatures from serializer state. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/flags.h ('k') | src/full-codegen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/flags.cc
diff --git a/src/flags.cc b/src/flags.cc
index 19a10e4165f8932da60523749da9c93d9d90f67c..467f4a9e0af266bb9ceb3f1a99487b20c4a82b2c 100644
--- a/src/flags.cc
+++ b/src/flags.cc
@@ -7,14 +7,11 @@
#include "v8.h"
+#include "assembler.h"
#include "platform.h"
#include "smart-pointers.h"
#include "string-stream.h"
-#if V8_TARGET_ARCH_ARM
-#include "arm/assembler-arm-inl.h"
-#endif
-
namespace v8 {
namespace internal {
@@ -337,15 +334,10 @@ static Flag* FindFlag(const char* name) {
}
-bool FlagList::serializer_enabled_ = false;
-
-
// static
int FlagList::SetFlagsFromCommandLine(int* argc,
char** argv,
- bool remove_flags,
- bool serializer_enabled) {
- serializer_enabled_ = serializer_enabled;
+ bool remove_flags) {
int return_code = 0;
// parse arguments
for (int i = 1; i < *argc;) {
@@ -525,11 +517,8 @@ void FlagList::ResetAllFlags() {
// static
void FlagList::PrintHelp() {
-#if V8_TARGET_ARCH_ARM
CpuFeatures::PrintTarget();
- CpuFeatures::Probe(serializer_enabled_);
CpuFeatures::PrintFeatures();
-#endif // V8_TARGET_ARCH_ARM
printf("Usage:\n");
printf(" shell [options] -e string\n");
« no previous file with comments | « src/flags.h ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698