diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-06-02 02:34:55 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-06-02 02:34:55 +0000 |
commit | cde4ce411b1ace4a80ea1dd38df97e8508aed0c9 (patch) | |
tree | a560b88834f814357d15c130319ef3d70502ca94 /lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h | |
parent | 491a13691d3b30b8288dfc6e01ad6a58f69a4ce6 (diff) | |
download | external_llvm-cde4ce411b1ace4a80ea1dd38df97e8508aed0c9.zip external_llvm-cde4ce411b1ace4a80ea1dd38df97e8508aed0c9.tar.gz external_llvm-cde4ce411b1ace4a80ea1dd38df97e8508aed0c9.tar.bz2 |
Don't hardcode the %reg format in the streamer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h')
-rw-r--r-- | lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h index 6a98411..adfa0aa 100644 --- a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h +++ b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h @@ -33,7 +33,7 @@ public: return SyntaxVariant == 1; } - StringRef getRegName(unsigned RegNo) const; + virtual void printRegName(raw_ostream &OS, unsigned RegNo) const; virtual void printInst(const MCInst *MI, raw_ostream &O); virtual StringRef getOpcodeName(unsigned Opcode) const; |