forked from OSchip/llvm-project
c97b50e224
SymbolStringPtr used to use nullptr as its empty value and (since it performed ref-count operations on any non-nullptr) a pointer to a special pool-entry instance as its tombstone. This commit changes the scheme to use two invalid pointer values as the empty and tombstone values, and broadens the ref-count guard to prevent ref-counting operations from being performed on these pointers. This should improve the performance of SymbolStringPtrs used in DenseMaps/DenseSets, as ref counting operations will no longer be performed on the tombstone. llvm-svn: 360925 |
||
---|---|---|
.. | ||
IntelJITEvents | ||
Interpreter | ||
JITLink | ||
MCJIT | ||
OProfileJIT | ||
Orc | ||
PerfJITEvents | ||
RuntimeDyld | ||
CMakeLists.txt | ||
ExecutionEngine.cpp | ||
ExecutionEngineBindings.cpp | ||
GDBRegistrationListener.cpp | ||
LLVMBuild.txt | ||
SectionMemoryManager.cpp | ||
TargetSelect.cpp |