Mark the growing path in SmallVector::push_back as cold.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 26 Apr 2014 20:10:49 +0000 (20:10 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 26 Apr 2014 20:10:49 +0000 (20:10 +0000)
commit708d6805654d9296937d8f8751e660909c41912a
tree0997528d77c5c46d06ea8d41edfefa4678fc43f5
parent86d321f9d1176fd1a8b5c71023f76c5b5cf86455
Mark the growing path in SmallVector::push_back as cold.

It's vital for performance that the cold path of push_back isn't inlined.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207331 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/SmallVector.h