Make the StringMaps attached to MCContext use the MCContext's allocator;
authorEli Friedman <eli.friedman@gmail.com>
Mon, 18 Apr 2011 05:02:31 +0000 (05:02 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Mon, 18 Apr 2011 05:02:31 +0000 (05:02 +0000)
commitf4387d9afb9100e181b96b3bca879b940715033d
tree3ac7d2da8538ba175b16b7159e79fe8808d1a388
parent8aa0f9042ddda5f4f25e30acaf7e4c44ee65a632
Make the StringMaps attached to MCContext use the MCContext's allocator;
reduces the number of calls to malloc().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129687 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCContext.h
lib/MC/MCContext.cpp