Revision: 19371
Author: [email protected]
Date: Fri Feb 14 10:03:17 2014 UTC
Log: Valgrind fix: always initialize HCheckTableEntry->is_stable_
BUG=chromium:343621
LOG=N
[email protected]
Review URL: https://codereview.chromium.org/166413002
http://code.google.com/p/v8/source/detail?r=19371
Modified:
/branches/bleeding_edge/src/hydrogen-check-elimination.cc
=======================================
--- /branches/bleeding_edge/src/hydrogen-check-elimination.cc Wed Feb 12
18:48:12 2014 UTC
+++ /branches/bleeding_edge/src/hydrogen-check-elimination.cc Fri Feb 14
10:03:17 2014 UTC
@@ -152,11 +152,11 @@
HCheckTableEntry* new_entry = ©->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.
--
--
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.