mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-29 15:17:14 +00:00
Spell out `NoFramePointerElim' for readability.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14299 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -20,7 +20,7 @@ namespace llvm {
|
|||||||
/// these should go in their own header eventually.
|
/// these should go in their own header eventually.
|
||||||
///
|
///
|
||||||
extern bool PrintMachineCode;
|
extern bool PrintMachineCode;
|
||||||
extern bool NoFPElim;
|
extern bool NoFramePointerElim;
|
||||||
|
|
||||||
class TargetMachine;
|
class TargetMachine;
|
||||||
class Module;
|
class Module;
|
||||||
|
@@ -23,7 +23,7 @@ using namespace llvm;
|
|||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
bool PrintMachineCode;
|
bool PrintMachineCode;
|
||||||
bool NoFPElim;
|
bool NoFramePointerElim;
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
@@ -34,7 +34,8 @@ namespace {
|
|||||||
cl::opt<bool, true>
|
cl::opt<bool, true>
|
||||||
DisableFPElim("disable-fp-elim",
|
DisableFPElim("disable-fp-elim",
|
||||||
cl::desc("Disable frame pointer elimination optimization"),
|
cl::desc("Disable frame pointer elimination optimization"),
|
||||||
cl::location(NoFPElim), cl::init(false));
|
cl::location(NoFramePointerElim),
|
||||||
|
cl::init(false));
|
||||||
};
|
};
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
@@ -333,7 +333,7 @@ MachineInstr* X86RegisterInfo::foldMemoryOperand(MachineInstr* MI,
|
|||||||
// if frame pointer elimination is disabled.
|
// if frame pointer elimination is disabled.
|
||||||
//
|
//
|
||||||
static bool hasFP(MachineFunction &MF) {
|
static bool hasFP(MachineFunction &MF) {
|
||||||
return NoFPElim || MF.getFrameInfo()->hasVarSizedObjects();
|
return NoFramePointerElim || MF.getFrameInfo()->hasVarSizedObjects();
|
||||||
}
|
}
|
||||||
|
|
||||||
void X86RegisterInfo::
|
void X86RegisterInfo::
|
||||||
|
Reference in New Issue
Block a user