Skip to content

Commit ea4d54e

Browse files
Missed a little cleanup on a couple of source files.
1 parent e71fb23 commit ea4d54e

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

llvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -613,11 +613,8 @@ bool PPCInstPrinter::showRegistersWithPercentPrefix(const char *RegName) const {
613613

614614
/// getVerboseConditionalRegName - This method expands the condition register
615615
/// when requested explicitly or targetting Darwin.
616-
const char *PPCInstPrinter::getVerboseConditionRegName(unsigned RegNum,
617-
unsigned RegEncoding,
618-
const MCSubtargetInfo &STI)
619-
const {
620-
// __SP__
616+
const char *PPCInstPrinter::getVerboseConditionRegName(
617+
unsigned RegNum, unsigned RegEncoding, const MCSubtargetInfo &STI) const {
621618
if (!FullRegNames && !STI.hasFeature(PPC::FeatureFullRegisterNames))
622619
return nullptr;
623620
if (RegNum < PPC::CR0EQ || RegNum > PPC::CR7UN)

llvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ class PPCInstPrinter : public MCInstPrinter {
2323
private:
2424
bool showRegistersWithPercentPrefix(const char *RegName) const;
2525
bool showRegistersWithPrefix(const MCSubtargetInfo &STI) const;
26-
const char *getVerboseConditionRegName(unsigned RegNum,
27-
unsigned RegEncoding,
26+
const char *getVerboseConditionRegName(unsigned RegNum, unsigned RegEncoding,
2827
const MCSubtargetInfo &STI) const;
2928

3029
public:

0 commit comments

Comments
 (0)