mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
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
This commit is contained in:
parent
ac86d43eae
commit
e81abfd30b
@ -701,10 +701,10 @@ void PEI::insertPrologEpilogCode(MachineFunction &Fn) {
|
|||||||
TFI.emitEpilogue(Fn, *I);
|
TFI.emitEpilogue(Fn, *I);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Emit additional code that is required support segmented stacks, if we've
|
// Emit additional code that is required to support segmented stacks, if
|
||||||
// been asked for it. This, when linked with a runtime with support for
|
// we've been asked for it. This, when linked with a runtime with support
|
||||||
// segmented stacks (libgcc is one), will result allocating stack space in
|
// for segmented stacks (libgcc is one), will result in allocating stack
|
||||||
// small chunks instead of one large contiguous block.
|
// space in small chunks instead of one large contiguous block.
|
||||||
if (EnableSegmentedStacks)
|
if (EnableSegmentedStacks)
|
||||||
TFI.adjustForSegmentedStacks(Fn);
|
TFI.adjustForSegmentedStacks(Fn);
|
||||||
}
|
}
|
||||||
|
@ -1292,8 +1292,8 @@ GetScratchRegister(bool Is64Bit, const MachineFunction &MF) {
|
|||||||
|
|
||||||
if (CallingConvention == CallingConv::X86_FastCall) {
|
if (CallingConvention == CallingConv::X86_FastCall) {
|
||||||
if (IsNested) {
|
if (IsNested) {
|
||||||
report_fatal_error("Segmented stacks does not supprot fastcall with "
|
report_fatal_error("Segmented stacks does not support fastcall with "
|
||||||
"nested fucntion.");
|
"nested function.");
|
||||||
return -1;
|
return -1;
|
||||||
} else {
|
} else {
|
||||||
return X86::EAX;
|
return X86::EAX;
|
||||||
|
Loading…
Reference in New Issue
Block a user