mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-07 11:59:09 +00:00
Remove extraneous parens and extraneous const cast (and fix the
prototype for the function to patch what we were returning). llvm-svn: 211837
This commit is contained in:
parent
e0bc241533
commit
9095101a3e
@ -59,11 +59,11 @@ public:
|
||||
const NVPTXSubtarget *getSubtargetImpl() const override { return &Subtarget; }
|
||||
|
||||
const NVPTXRegisterInfo *getRegisterInfo() const override {
|
||||
return &(InstrInfo.getRegisterInfo());
|
||||
return &InstrInfo.getRegisterInfo();
|
||||
}
|
||||
|
||||
NVPTXTargetLowering *getTargetLowering() const override {
|
||||
return const_cast<NVPTXTargetLowering *>(&TLInfo);
|
||||
const NVPTXTargetLowering *getTargetLowering() const override {
|
||||
return &TLInfo;
|
||||
}
|
||||
|
||||
const TargetSelectionDAGInfo *getSelectionDAGInfo() const override {
|
||||
|
Loading…
x
Reference in New Issue
Block a user