Reviewers: vogelheim,

Description:
Reflect debug mode build in flags hash.

[email protected]

Please review this at https://codereview.chromium.org/940003002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+3, -0 lines):
  M src/flags.cc


Index: src/flags.cc
diff --git a/src/flags.cc b/src/flags.cc
index 5e33bdaeec8862ab4249a221f84c60703e9e3401..d498c28240488916d96ce8e7560328682981d31a 100644
--- a/src/flags.cc
+++ b/src/flags.cc
@@ -553,6 +553,9 @@ void FlagList::EnforceFlagImplications() {

 uint32_t FlagList::Hash() {
   std::ostringstream modified_args_as_string;
+#ifdef DEBUG
+  modified_args_as_string << "debug";
+#endif  // DEBUG
   for (size_t i = 0; i < num_flags; ++i) {
     Flag* current = &flags[i];
     if (!current->IsDefault()) {


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to