aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-03 07:31:15 +0000
committerChris Lattner <sabre@nondot.org>2010-03-03 07:31:15 +0000
commit796f1da4791dac2114ac8be024b7bafb376eb5fa (patch)
tree9920505ec1283d60e57bbff0205a1e550ddd14a9 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent83b28a2433e3c6162b310b7b1beb20aa3dea1022 (diff)
downloadllvm-796f1da4791dac2114ac8be024b7bafb376eb5fa.zip
llvm-796f1da4791dac2114ac8be024b7bafb376eb5fa.tar.gz
llvm-796f1da4791dac2114ac8be024b7bafb376eb5fa.tar.bz2
speed up scope node processing: if the first element of a scope
entry we're about to process is obviously going to fail, don't bother pushing a scope only to have it immediately be popped. This avoids a lot of scope stack traffic in common cases. Unfortunately, this requires duplicating some of the predicate dispatch. To avoid duplicating the actual logic I pulled each predicate out to its own static function which gets used in both places. llvm-svn: 97651
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions