aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/StackColoring.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-09-10 08:51:46 +0000
committerNadav Rotem <nrotem@apple.com>2012-09-10 08:51:46 +0000
commit8cc14949053ea4fcba34afc68b30137eff408d66 (patch)
treefff16c2cf7a8ffeca7aeb6ba3baee1ea2b2c7feb /lib/CodeGen/StackColoring.cpp
parent0aa52ee04e3060974474f6b3f824517c088f07d8 (diff)
downloadexternal_llvm-8cc14949053ea4fcba34afc68b30137eff408d66.zip
external_llvm-8cc14949053ea4fcba34afc68b30137eff408d66.tar.gz
external_llvm-8cc14949053ea4fcba34afc68b30137eff408d66.tar.bz2
Fix a typo in the comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StackColoring.cpp')
-rw-r--r--lib/CodeGen/StackColoring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/StackColoring.cpp b/lib/CodeGen/StackColoring.cpp
index 9d807bb..b0cbda8 100644
--- a/lib/CodeGen/StackColoring.cpp
+++ b/lib/CodeGen/StackColoring.cpp
@@ -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