Commit 65843dbf authored by hpayer@chromium.org's avatar hpayer@chromium.org

Insert allocation memento clear instructions after the dominating allocate instruction.

BUG=
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/23672004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16393 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent caca2b32
...@@ -3323,12 +3323,12 @@ void HAllocate::HandleSideEffectDominator(GVNFlag side_effect, ...@@ -3323,12 +3323,12 @@ void HAllocate::HandleSideEffectDominator(GVNFlag side_effect,
} else { } else {
// TODO(hpayer): This is a short-term hack to make allocation mementos // TODO(hpayer): This is a short-term hack to make allocation mementos
// work again in new space. // work again in new space.
ClearNextMapWord(original_object_size); dominator_allocate->ClearNextMapWord(original_object_size);
} }
#else #else
// TODO(hpayer): This is a short-term hack to make allocation mementos // TODO(hpayer): This is a short-term hack to make allocation mementos
// work again in new space. // work again in new space.
ClearNextMapWord(original_object_size); dominator_allocate->ClearNextMapWord(original_object_size);
#endif #endif
dominator_allocate->clear_next_map_word_ = clear_next_map_word_; dominator_allocate->clear_next_map_word_ = clear_next_map_word_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment