Skip to content
Commit e21f2708 authored by Owen Anderson's avatar Owen Anderson
Browse files

Fix an issue where assignments that caused a SmallPtrSet to become non-small

would result in calling realloc() on a null pointer.  Instead, if we encounter
this situation, make a normal call to malloc().

llvm-svn: 40014
parent 0f0019c3
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