diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-15 07:26:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-15 07:26:43 +0000 |
commit | 4bbf4ee1491637c247e195e19e3e4a8ee5ad72fa (patch) | |
tree | b0abe4f45ba17d9284a9220034d62c9caae29db3 /lib/Transforms/Utils | |
parent | f8bc1e4b277dc85a89f93738d7de4d324a093fb4 (diff) | |
download | external_llvm-4bbf4ee1491637c247e195e19e3e4a8ee5ad72fa.zip external_llvm-4bbf4ee1491637c247e195e19e3e4a8ee5ad72fa.tar.gz external_llvm-4bbf4ee1491637c247e195e19e3e4a8ee5ad72fa.tar.bz2 |
Remove isPod() from DenseMapInfo, splitting it out to its own
isPodLike type trait. This is a generally useful type trait for
more than just DenseMap, and we really care about whether something
acts like a pod, not whether it really is a pod.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91421 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils')
-rw-r--r-- | lib/Transforms/Utils/PromoteMemoryToRegister.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp index 438ac43..846e432 100644 --- a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp +++ b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp @@ -55,7 +55,6 @@ struct DenseMapInfo<std::pair<BasicBlock*, unsigned> > { static bool isEqual(const EltTy &LHS, const EltTy &RHS) { return LHS == RHS; } - static bool isPod() { return true; } }; } |