aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-08-27 21:38:11 +0000
committerEric Christopher <echristo@apple.com>2010-08-27 21:38:11 +0000
commitd6e7bdd136907c8419eee98b62ac90b68182ec24 (patch)
tree55cc4534d5c7494896566bb0cda19af09e984ca6
parent83e12561d9685cbea52714796bdf770261e47ff4 (diff)
downloadexternal_llvm-d6e7bdd136907c8419eee98b62ac90b68182ec24.zip
external_llvm-d6e7bdd136907c8419eee98b62ac90b68182ec24.tar.gz
external_llvm-d6e7bdd136907c8419eee98b62ac90b68182ec24.tar.bz2
Fix a couple of typos.
Patch by Cameron Esfahani! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112297 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/MachineFrameInfo.h2
-rw-r--r--include/llvm/Target/TargetCallingConv.td2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineFrameInfo.h b/include/llvm/CodeGen/MachineFrameInfo.h
index 44b3aed..b6297fa 100644
--- a/include/llvm/CodeGen/MachineFrameInfo.h
+++ b/include/llvm/CodeGen/MachineFrameInfo.h
@@ -31,7 +31,7 @@ class TargetFrameInfo;
class BitVector;
/// The CalleeSavedInfo class tracks the information need to locate where a
-/// callee saved register in the current frame.
+/// callee saved register is in the current frame.
class CalleeSavedInfo {
unsigned Reg;
int FrameIdx;
diff --git a/include/llvm/Target/TargetCallingConv.td b/include/llvm/Target/TargetCallingConv.td
index 35b6482..6da3ba1 100644
--- a/include/llvm/Target/TargetCallingConv.td
+++ b/include/llvm/Target/TargetCallingConv.td
@@ -42,7 +42,7 @@ class CCIf<string predicate, CCAction A> : CCPredicateAction<A> {
class CCIfByVal<CCAction A> : CCIf<"ArgFlags.isByVal()", A> {
}
-/// CCIfCC - Match of the current calling convention is 'CC'.
+/// CCIfCC - Match if the current calling convention is 'CC'.
class CCIfCC<string CC, CCAction A>
: CCIf<!strconcat("State.getCallingConv() == ", CC), A> {}