Fix a typo in the comment.
authorNadav Rotem <nrotem@apple.com>
Mon, 10 Sep 2012 08:51:46 +0000 (08:51 +0000)
committerNadav Rotem <nrotem@apple.com>
Mon, 10 Sep 2012 08:51:46 +0000 (08:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163496 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/StackColoring.cpp

index 9d807bbdd88fd8e4a14d4f6373b31eaff0e004be..b0cbda827ce1c426c71412da057284317b4bb3a8 100644 (file)
@@ -496,8 +496,8 @@ void StackColoring::remapInstructions(DenseMap<int, int> &SlotRemap) {
         if (!SlotRemap.count(FromSlot))
           continue;
 
-        // In a debug build, check that the instruction that we are check is
-        // inside its expected live range. If the instruction is not inside
+        // In a debug build, check that the instruction that we are modifying is
+        // inside the expected live range. If the instruction is not inside
         // the calculated range then it means that the alloca usage moved
         // outside of the lifetime markers.
 #ifndef NDEBUG