diff options
| author | Dan Gohman <dan433584@gmail.com> | 2015-09-14 19:44:29 +0000 |
|---|---|---|
| committer | Dan Gohman <dan433584@gmail.com> | 2015-09-14 19:44:29 +0000 |
| commit | 11ab0e155dedf4c45929ce0d901621cdec999d54 (patch) | |
| tree | 5dabe1917236ba7d57dd6d4e05f649352f031c26 | |
| parent | 8d4d9d2f678670552df04e99b02682421287c197 (diff) | |
| download | bcm5719-llvm-11ab0e155dedf4c45929ce0d901621cdec999d54.tar.gz bcm5719-llvm-11ab0e155dedf4c45929ce0d901621cdec999d54.zip | |
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
| -rw-r--r-- | llvm/include/llvm/CodeGen/AsmPrinter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h index 6a81bb8543f..c511b4959b8 100644 --- a/llvm/include/llvm/CodeGen/AsmPrinter.h +++ b/llvm/include/llvm/CodeGen/AsmPrinter.h @@ -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, |

