mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
Have setSubtarget take a const subtarget.
llvm-svn: 218490
This commit is contained in:
parent
3b65e1ff31
commit
74f3138425
@ -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