aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/CodeExtractor.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-23 01:01:04 +0000
committerChris Lattner <sabre@nondot.org>2006-01-23 01:01:04 +0000
commit1ac2d518067f8341fb59c1c5ba1f5787fd78abe2 (patch)
treeff45083f47d319b4adc4d1f3ce0f983f24ea7124 /lib/Transforms/Utils/CodeExtractor.cpp
parentfc4417837a37715d0b8d4fcca6f90a5f3c08acfc (diff)
Speedup and simplify pass registration by the observation that there is
exactly one PassInfo object per RegisterPass object and that their lifetimes are the same. As such, there is no reason for the RegisterPass object to dynamically allocate the PassInfo object at compiler startup time: just inline the object by-value. This should reduce codesize, heap size, and startup time. Yaay. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25521 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/CodeExtractor.cpp')
0 files changed, 0 insertions, 0 deletions