mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
ReuseFrameIndexVals is used in multiple files, so it can't be static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101379 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -38,11 +38,14 @@
|
|||||||
#include "llvm/ADT/BitVector.h"
|
#include "llvm/ADT/BitVector.h"
|
||||||
#include "llvm/ADT/SmallVector.h"
|
#include "llvm/ADT/SmallVector.h"
|
||||||
#include "llvm/Support/CommandLine.h"
|
#include "llvm/Support/CommandLine.h"
|
||||||
using namespace llvm;
|
|
||||||
|
|
||||||
static cl::opt<bool>
|
namespace llvm {
|
||||||
|
cl::opt<bool>
|
||||||
ReuseFrameIndexVals("arm-reuse-frame-index-vals", cl::Hidden, cl::init(true),
|
ReuseFrameIndexVals("arm-reuse-frame-index-vals", cl::Hidden, cl::init(true),
|
||||||
cl::desc("Reuse repeated frame index values"));
|
cl::desc("Reuse repeated frame index values"));
|
||||||
|
}
|
||||||
|
|
||||||
|
using namespace llvm;
|
||||||
|
|
||||||
unsigned ARMBaseRegisterInfo::getRegisterNumbering(unsigned RegEnum,
|
unsigned ARMBaseRegisterInfo::getRegisterNumbering(unsigned RegEnum,
|
||||||
bool *isSPVFP) {
|
bool *isSPVFP) {
|
||||||
|
@@ -36,9 +36,12 @@
|
|||||||
#include "llvm/Support/CommandLine.h"
|
#include "llvm/Support/CommandLine.h"
|
||||||
#include "llvm/Support/ErrorHandling.h"
|
#include "llvm/Support/ErrorHandling.h"
|
||||||
#include "llvm/Support/raw_ostream.h"
|
#include "llvm/Support/raw_ostream.h"
|
||||||
using namespace llvm;
|
|
||||||
|
|
||||||
|
namespace llvm {
|
||||||
extern cl::opt<bool> ReuseFrameIndexVals;
|
extern cl::opt<bool> ReuseFrameIndexVals;
|
||||||
|
}
|
||||||
|
|
||||||
|
using namespace llvm;
|
||||||
|
|
||||||
Thumb1RegisterInfo::Thumb1RegisterInfo(const ARMBaseInstrInfo &tii,
|
Thumb1RegisterInfo::Thumb1RegisterInfo(const ARMBaseInstrInfo &tii,
|
||||||
const ARMSubtarget &sti)
|
const ARMSubtarget &sti)
|
||||||
|
Reference in New Issue
Block a user