summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-08-28 01:02:21 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-08-28 01:02:21 +0000
commit7f9a887d3f64d1227b911c9180767d95dbba4c10 (patch)
treef87a029ca26678f9d5da5111781ba1f121220f62 /CMakeLists.txt
parenta796d90c0ed7ebd5d58fced43c60afc2e9bf6225 (diff)
downloadllvm-7f9a887d3f64d1227b911c9180767d95dbba4c10.tar.gz
llvm-7f9a887d3f64d1227b911c9180767d95dbba4c10.tar.bz2
llvm-7f9a887d3f64d1227b911c9180767d95dbba4c10.tar.xz
[BumpPtrAllocator] Move DefaultSlabAllocator to a member of BumpPtrAllocator, instead of a static variable.
The problem with having DefaultSlabAllocator being a global static is that it is undefined if BumpPtrAllocator will be usable during global initialization because it is not guaranteed that DefaultSlabAllocator will be initialized before BumpPtrAllocator is created and used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions