From: titzer@chromium.org Date: Tue, 4 Nov 2014 16:15:44 +0000 (+0000) Subject: Fix branch hint in select. X-Git-Tag: upstream/4.7.83~5905 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b48e27ea0046055b84843b91bf9b16e495c1f554;p=platform%2Fupstream%2Fv8.git 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 --- diff --git a/src/compiler/select-lowering.cc b/src/compiler/select-lowering.cc index 3646cf1..2e51d72 100644 --- a/src/compiler/select-lowering.cc +++ b/src/compiler/select-lowering.cc @@ -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; }