Index: src/flags.cc |
diff --git a/src/flags.cc b/src/flags.cc |
index 7feb51f54d54be8861776bbd2b3dbcb86ba0d487..e241f552f92d4301461281b217990b1aa3ed3f66 100644 |
--- a/src/flags.cc |
+++ b/src/flags.cc |
@@ -360,10 +360,15 @@ static Flag* FindFlag(const char* name) { |
} |
+bool FlagList::serializer_enabled_ = false; |
+ |
+ |
// static |
int FlagList::SetFlagsFromCommandLine(int* argc, |
char** argv, |
- bool remove_flags) { |
+ bool remove_flags, |
+ bool serializer_enabled) { |
+ serializer_enabled_ = serializer_enabled; |
int return_code = 0; |
// parse arguments |
for (int i = 1; i < *argc;) { |
@@ -545,7 +550,7 @@ void FlagList::ResetAllFlags() { |
void FlagList::PrintHelp() { |
#if V8_TARGET_ARCH_ARM |
CpuFeatures::PrintTarget(); |
- CpuFeatures::ProbeWithoutIsolate(); |
+ CpuFeatures::Probe(serializer_enabled_); |
CpuFeatures::PrintFeatures(); |
#endif // V8_TARGET_ARCH_ARM |