Commit 5c28ae12 authored by Tamas Berghammer's avatar Tamas Berghammer
Browse files

Use std::list::splice in TaskPool to avoid an allocation

Using std::list::splice to move an element from one list to an other
avoids the allocation of a new element and a move of the data.

llvm-svn: 251993
parent 276743f0
Supports Markdown
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