[llvm] r266900 - Verifier: Add ModuleSlotTracker to printAsOperand call

Duncan P. N. Exon Smith via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 11:42:51 PDT 2016


Author: dexonsmith
Date: Wed Apr 20 13:42:51 2016
New Revision: 266900

URL: http://llvm.org/viewvc/llvm-project?rev=266900&view=rev
Log:
Verifier: Add ModuleSlotTracker to printAsOperand call

I missed this site in r266889.

Modified:
    llvm/trunk/lib/IR/Verifier.cpp

Modified: llvm/trunk/lib/IR/Verifier.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Verifier.cpp?rev=266900&r1=266899&r2=266900&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Verifier.cpp (original)
+++ llvm/trunk/lib/IR/Verifier.cpp Wed Apr 20 13:42:51 2016
@@ -264,7 +264,7 @@ public:
       if (OS) {
         *OS << "Basic Block in function '" << F.getName()
             << "' does not have terminator!\n";
-        BB.printAsOperand(*OS, true);
+        BB.printAsOperand(*OS, true, *MST);
         *OS << "\n";
       }
       return false;




More information about the llvm-commits mailing list