[llvm] r182536 - Minor fix to comment from my previous commit.
Chad Rosier
mcrosier at apple.com
Wed May 22 16:25:59 PDT 2013
Author: mcrosier
Date: Wed May 22 18:25:59 2013
New Revision: 182536
URL: http://llvm.org/viewvc/llvm-project?rev=182536&view=rev
Log:
Minor fix to comment from my previous commit.
Modified:
llvm/trunk/include/llvm/MC/MCRegisterInfo.h
Modified: llvm/trunk/include/llvm/MC/MCRegisterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCRegisterInfo.h?rev=182536&r1=182535&r2=182536&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCRegisterInfo.h (original)
+++ llvm/trunk/include/llvm/MC/MCRegisterInfo.h Wed May 22 18:25:59 2013
@@ -510,7 +510,7 @@ public:
// super-registers. All registers aliasing Unit can be visited like this:
//
// for (MCRegUnitRootIterator RI(Unit, MCRI); RI.isValid(); ++RI) {
-// for (MCSuperRegIterator SI(Root, MCRI, true); SI.isValid(); ++SI)
+// for (MCSuperRegIterator SI(*RI, MCRI, true); SI.isValid(); ++SI)
// visit(*SI);
// }
More information about the llvm-commits
mailing list