diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-08-31 16:43:33 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-08-31 16:43:33 +0000 |
| commit | 6e31dfea35548529586d55eb2731bd6209ed8876 (patch) | |
| tree | c9e6d3686ceb9199a8158e7a5d05ead26d3209a4 | |
| parent | 635d9692b6e6d273a959a19609589d64f0e403dd (diff) | |
| download | bcm5719-llvm-6e31dfea35548529586d55eb2731bd6209ed8876.tar.gz bcm5719-llvm-6e31dfea35548529586d55eb2731bd6209ed8876.zip | |
Spelling and grammar fixes to problems found by Duncan.
llvm-svn: 138858
| -rw-r--r-- | llvm/lib/CodeGen/PrologEpilogInserter.cpp | 8 | ||||
| -rw-r--r-- | llvm/lib/Target/X86/X86FrameLowering.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp index ec5fe25704a..4ad14804278 100644 --- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp +++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp @@ -701,10 +701,10 @@ void PEI::insertPrologEpilogCode(MachineFunction &Fn) { TFI.emitEpilogue(Fn, *I); } - // Emit additional code that is required support segmented stacks, if we've - // been asked for it. This, when linked with a runtime with support for - // segmented stacks (libgcc is one), will result allocating stack space in - // small chunks instead of one large contiguous block. + // Emit additional code that is required to support segmented stacks, if + // we've been asked for it. This, when linked with a runtime with support + // for segmented stacks (libgcc is one), will result in allocating stack + // space in small chunks instead of one large contiguous block. if (EnableSegmentedStacks) TFI.adjustForSegmentedStacks(Fn); } diff --git a/llvm/lib/Target/X86/X86FrameLowering.cpp b/llvm/lib/Target/X86/X86FrameLowering.cpp index 37cab937e92..6bc349ffc10 100644 --- a/llvm/lib/Target/X86/X86FrameLowering.cpp +++ b/llvm/lib/Target/X86/X86FrameLowering.cpp @@ -1292,8 +1292,8 @@ GetScratchRegister(bool Is64Bit, const MachineFunction &MF) { if (CallingConvention == CallingConv::X86_FastCall) { if (IsNested) { - report_fatal_error("Segmented stacks does not supprot fastcall with " - "nested fucntion."); + report_fatal_error("Segmented stacks does not support fastcall with " + "nested function."); return -1; } else { return X86::EAX; |

