diff options
author | Chris Lattner <sabre@nondot.org> | 2008-06-21 19:47:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-06-21 19:47:03 +0000 |
commit | 60ebb192ec96d6f486272b3036fa7bb38bf61637 (patch) | |
tree | c7ce6f85197af4387e927e9dd18f4839dbafa96a /lib/VMCore/Pass.cpp | |
parent | 5c3794ea2a5e703834a43d8441faf8dbe8386f50 (diff) | |
download | external_llvm-60ebb192ec96d6f486272b3036fa7bb38bf61637.zip external_llvm-60ebb192ec96d6f486272b3036fa7bb38bf61637.tar.gz external_llvm-60ebb192ec96d6f486272b3036fa7bb38bf61637.tar.bz2 |
fix some warnings when assertions are disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52587 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Pass.cpp')
-rw-r--r-- | lib/VMCore/Pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp index d874d8b..d04f90c 100644 --- a/lib/VMCore/Pass.cpp +++ b/lib/VMCore/Pass.cpp @@ -146,7 +146,7 @@ public: void RegisterPass(const PassInfo &PI) { bool Inserted = PassInfoMap.insert(std::make_pair(PI.getTypeInfo(),&PI)).second; - assert(Inserted && "Pass registered multiple times!"); + assert(Inserted && "Pass registered multiple times!"); Inserted=Inserted; } void UnregisterPass(const PassInfo &PI) { |