Skip to content
Commit 4e36e5bb authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

Use realloc instead of malloc+memcpy when growing a POD SmallVector. A smart

realloc implementation can try to expand the allocated memory block in-place,
avoiding the copy.

llvm-svn: 105605
parent 05911246
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment