Fix branch hint in select.

R=mstarzinger@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#25117}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25117 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
titzer@chromium.org 2014-11-04 16:15:44 +00:00
parent 357882a8e5
commit b48e27ea00

View File

@ -32,7 +32,7 @@ Reduction SelectLowering::Reduce(Node* node) {
auto i = merges_.find(cond);
if (i == merges_.end()) {
// Create a new diamond for this condition and remember its merge node.
Diamond d(graph(), common(), cond);
Diamond d(graph(), common(), cond, p.hint());
i = merges_.insert(std::make_pair(cond, d.merge)).first;
}