Description[turbofan] Use sorted set in JSInliningHeuristic.
This changes the inlining candidates to be stored in a sorted set of
unique entries instead of a vector. We can avoid the final sorting
operation by amortizing the cost across insertions and also duplicate
entries are not created in the first place. Duplicate entries cause
crashes when candidates are processed.
R=bmeurer@chromium.org
BUG=chromium:549113
LOG=n
Committed: https://crrev.com/2a4336d97ae8d22ba4955c083fa7f6e6f3740e35
Cr-Commit-Position: refs/heads/master@{#31742}
Patch Set 1 #Patch Set 2 : Fix typo of doom. #
Messages
Total messages: 7 (2 generated)
|