mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +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:
@@ -168,7 +168,7 @@ public:
|
|||||||
/// getSubtarget - Return the subtarget for which this machine code is being
|
/// getSubtarget - Return the subtarget for which this machine code is being
|
||||||
/// compiled.
|
/// compiled.
|
||||||
const TargetSubtargetInfo &getSubtarget() const { return *STI; }
|
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.
|
/// getRegInfo - Return information about the registers currently in use.
|
||||||
///
|
///
|
||||||
|
Reference in New Issue
Block a user