mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Have setSubtarget take a const subtarget.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218490 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a6e0a6e729
commit
eea543fd16
@ -168,7 +168,7 @@ public:
|
||||
/// getSubtarget - Return the subtarget for which this machine code is being
|
||||
/// compiled.
|
||||
const TargetSubtargetInfo &getSubtarget() const { return *STI; }
|
||||
void setSubtarget(TargetSubtargetInfo *ST) { STI = ST; }
|
||||
void setSubtarget(const TargetSubtargetInfo *ST) { STI = ST; }
|
||||
|
||||
/// getRegInfo - Return information about the registers currently in use.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user