1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Make AsmPrinter::EmitJumpTableInfo virtual

Targets that have non-traditional jump table mechanisms may need to do
something substantially different for jump tables than what
AsmPrinter::EmitJumpTableInfo does. This patch makes that function
virtual so that targets can override it.

Differential Revision:   http://reviews.llvm.org/D12786

llvm-svn: 247604
This commit is contained in:
Dan Gohman 2015-09-14 19:44:29 +00:00
parent 62bbf09645
commit ecc1aa9cf5

View File

@ -236,7 +236,7 @@ public:
/// Print assembly representations of the jump tables used by the current
/// function to the current output stream.
///
void EmitJumpTableInfo();
virtual void EmitJumpTableInfo();
/// Emit the control variable for an emulated TLS variable.
virtual void EmitEmulatedTLSControlVariable(const GlobalVariable *GV,