summaryrefslogtreecommitdiff
path: root/include
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
commitb5b21e5672bde8dd3fd05c56f5aac3817575fe40 (patch)
tree55cc4534d5c7494896566bb0cda19af09e984ca6 /include
parent2d0822a937a3b4d1c5096471a2af02ead2090b6e (diff)
downloadllvm-b5b21e5672bde8dd3fd05c56f5aac3817575fe40.tar.gz
llvm-b5b21e5672bde8dd3fd05c56f5aac3817575fe40.tar.bz2
llvm-b5b21e5672bde8dd3fd05c56f5aac3817575fe40.tar.xz
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
Diffstat (limited to 'include')
-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 44b3aed845..b6297fab3a 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 35b648216a..6da3ba13bb 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> {}