Reviewers: Igor Sheludko,

Description:
Merged r19371 into trunk branch.

Valgrind fix: always initialize HCheckTableEntry->is_stable_

BUG=chromium:343621
LOG=N
[email protected]

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

SVN Base: https://v8.googlecode.com/svn/trunk

Affected files (+2, -2 lines):
  M src/hydrogen-check-elimination.cc
  M src/version.cc


Index: src/hydrogen-check-elimination.cc
diff --git a/src/hydrogen-check-elimination.cc b/src/hydrogen-check-elimination.cc index 344a09638048771eff09314158a1af53125732a8..f15267349f2e09af355ad0c900b5814e79095165 100644
--- a/src/hydrogen-check-elimination.cc
+++ b/src/hydrogen-check-elimination.cc
@@ -152,11 +152,11 @@ class HCheckTable : public ZoneObject {
       HCheckTableEntry* new_entry = &copy->entries_[i];
       new_entry->object_ = old_entry->object_;
       new_entry->maps_ = old_entry->maps_->Copy(phase_->zone());
+      new_entry->is_stable_ = old_entry->is_stable_;
// Keep the check if the existing check's block dominates the successor.
       if (old_entry->check_ != NULL &&
           old_entry->check_->block()->Dominates(succ)) {
         new_entry->check_ = old_entry->check_;
-        new_entry->is_stable_ = old_entry->is_stable_;
       } else {
// Leave it NULL till we meet a new check instruction for this object
         // in the control flow.
Index: src/version.cc
diff --git a/src/version.cc b/src/version.cc
index 7948506d8e56b3d73593dc12a6b9f7354a56c213..0ae279e64fdc193929d1eb01f2a732e7eb2a57bb 100644
--- a/src/version.cc
+++ b/src/version.cc
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     3
 #define MINOR_VERSION     24
 #define BUILD_NUMBER      39
-#define PATCH_LEVEL       0
+#define PATCH_LEVEL       1
 // Use 1 for candidates and 0 otherwise.
 // (Boolean macro values are not supported by all preprocessors.)
 #define IS_CANDIDATE_VERSION 0


--
--
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/groups/opt_out.

Reply via email to