Update for API change.
authorChris Lattner <sabre@nondot.org>
Tue, 1 Feb 2005 01:24:01 +0000 (01:24 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 1 Feb 2005 01:24:01 +0000 (01:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19960 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/AsmWriter.cpp

index d5a8a5c6014343b1a3993ea6c47d660074d7e991..cf937eb691922bdecc9fbb43366d870f22240a62 100644 (file)
@@ -1019,7 +1019,7 @@ void AssemblyWriter::printInfoComment(const Value &V) {
       else
         Out << ':' << SlotNum; // Print out the def slot taken.
     }
-    Out << " [#uses=" << V.use_size() << ']';  // Output # uses
+    Out << " [#uses=" << V.getNumUses() << ']';  // Output # uses
   }
 }