From 7b0c84dcf59b6ac3a27843fd8162ab36928fba35 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 4 Aug 2004 07:28:06 +0000 Subject: I swear I compiled this, really I did. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15467 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Linker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/VMCore') diff --git a/lib/VMCore/Linker.cpp b/lib/VMCore/Linker.cpp index cda5d71..ffbdb92 100644 --- a/lib/VMCore/Linker.cpp +++ b/lib/VMCore/Linker.cpp @@ -420,7 +420,7 @@ static void ForceRenaming(GlobalValue *GV, const std::string &Name) { ConflictGV->setName(""); // Eliminate the conflict GV->setName(Name); // Force the name back ConflictGV->setName(Name); // This will cause ConflictGV to get renamed - assert(GV->getName() == Name() && ConflictGV->getName() != Name && + assert(GV->getName() == Name && ConflictGV->getName() != Name && "ForceRenaming didn't work"); } -- cgit v1.1