[llvm-commits] [llvm] r138858 - in /llvm/trunk/lib: CodeGen/PrologEpilogInserter.cpp Target/X86/X86FrameLowering.cpp
Rafael Espindola
rafael.espindola at gmail.com
Wed Aug 31 09:43:33 PDT 2011
Author: rafael
Date: Wed Aug 31 11:43:33 2011
New Revision: 138858
URL: http://llvm.org/viewvc/llvm-project?rev=138858&view=rev
Log:
Spelling and grammar fixes to problems found by Duncan.
Modified:
llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
llvm/trunk/lib/Target/X86/X86FrameLowering.cpp
Modified: llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp?rev=138858&r1=138857&r2=138858&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp (original)
+++ llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp Wed Aug 31 11:43:33 2011
@@ -701,10 +701,10 @@
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);
}
Modified: llvm/trunk/lib/Target/X86/X86FrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FrameLowering.cpp?rev=138858&r1=138857&r2=138858&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86FrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FrameLowering.cpp Wed Aug 31 11:43:33 2011
@@ -1292,8 +1292,8 @@
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;
More information about the llvm-commits
mailing list