Spelling and grammar fixes to problems found by Duncan.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138858 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86FrameLowering.cpp b/lib/Target/X86/X86FrameLowering.cpp
index 37cab93..6bc349f 100644
--- a/lib/Target/X86/X86FrameLowering.cpp
+++ b/lib/Target/X86/X86FrameLowering.cpp
@@ -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;