git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218490
91177308-0d34-0410-b5e6-
96231b3b80d8
/// getSubtarget - Return the subtarget for which this machine code is being
/// compiled.
const TargetSubtargetInfo &getSubtarget() const { return *STI; }
/// 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.
///
/// getRegInfo - Return information about the registers currently in use.
///