mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Pass TargetOptions to HexagonTargetMachine constructor by reference to match other targets and the base class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152979 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c1f6f42049
commit
1e0c9ab0d1
@ -50,7 +50,7 @@ extern "C" void LLVMInitializeHexagonTarget() {
|
||||
///
|
||||
HexagonTargetMachine::HexagonTargetMachine(const Target &T, StringRef TT,
|
||||
StringRef CPU, StringRef FS,
|
||||
TargetOptions Options,
|
||||
const TargetOptions &Options,
|
||||
Reloc::Model RM,
|
||||
CodeModel::Model CM,
|
||||
CodeGenOpt::Level OL)
|
||||
|
@ -37,8 +37,9 @@ class HexagonTargetMachine : public LLVMTargetMachine {
|
||||
|
||||
public:
|
||||
HexagonTargetMachine(const Target &T, StringRef TT,StringRef CPU,
|
||||
StringRef FS, TargetOptions Options, Reloc::Model RM,
|
||||
CodeModel::Model CM, CodeGenOpt::Level OL);
|
||||
StringRef FS, const TargetOptions &Options,
|
||||
Reloc::Model RM, CodeModel::Model CM,
|
||||
CodeGenOpt::Level OL);
|
||||
|
||||
virtual const HexagonInstrInfo *getInstrInfo() const {
|
||||
return &InstrInfo;
|
||||
|
Loading…
Reference in New Issue
Block a user