Spelling and grammar fixes to problems found by Duncan.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 31 Aug 2011 16:43:33 +0000 (16:43 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 31 Aug 2011 16:43:33 +0000 (16:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138858 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/PrologEpilogInserter.cpp
lib/Target/X86/X86FrameLowering.cpp

index ec5fe25704aa7ed7e913d9120c0384caeacf79ee..4ad14804278b6a9135ef2666d366136558cf62e4 100644 (file)
@@ -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);
 }
index 37cab937e923e9c109764dc25a66b2902df13c79..6bc349ffc10d7c113f4e995e6198b2448d89e316 100644 (file)
@@ -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;