commit | 90c579de5a383cee278acc3f7e7b9d0a656e6a35 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Fri Aug 06 18:33:48 2010 +0000 |
committer | Owen Anderson <resistor@mac.com> | Fri Aug 06 18:33:48 2010 +0000 |
tree | 3a2949af3670eddb92860ca641fab8a0e27e0e7b | |
parent | e26a7b5e21a49543a727b1b2524a934e73c89772 [diff] [blame] |
Reapply r110396, with fixes to appease the Linux buildbot gods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110460 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/TailDuplication.cpp b/lib/Transforms/Scalar/TailDuplication.cpp index 006ce90..2e437ac 100644 --- a/lib/Transforms/Scalar/TailDuplication.cpp +++ b/lib/Transforms/Scalar/TailDuplication.cpp
@@ -49,7 +49,7 @@ bool runOnFunction(Function &F); public: static char ID; // Pass identification, replacement for typeid - TailDup() : FunctionPass(&ID) {} + TailDup() : FunctionPass(ID) {} private: inline bool shouldEliminateUnconditionalBranch(TerminatorInst *, unsigned);