[llvm-commits] [llvm] r146316 - /llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h

Nick Lewycky nicholas at mxc.ca
Fri Dec 9 19:16:20 PST 2011


Author: nicholas
Date: Fri Dec  9 21:16:20 2011
New Revision: 146316

URL: http://llvm.org/viewvc/llvm-project?rev=146316&view=rev
Log:
Fix typo, reported by Eitan Adler!

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h?rev=146316&r1=146315&r2=146316&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineFrameInfo.h Fri Dec  9 21:16:20 2011
@@ -465,7 +465,7 @@
   bool isSpillSlotObjectIndex(int ObjectIdx) const {
     assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() &&
            "Invalid Object Idx!");
-    return Objects[ObjectIdx+NumFixedObjects].isSpillSlot;;
+    return Objects[ObjectIdx+NumFixedObjects].isSpillSlot;
   }
 
   /// isDeadObjectIndex - Returns true if the specified index corresponds to





More information about the llvm-commits mailing list