aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-06-28 00:52:32 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-06-28 00:52:32 +0000
commitc9094dbbe9557f7cc4e7e094a5901ea2fa680e3d (patch)
treeb7ab68b49586cba43219ff5d6ad5ae8b3e2b20fa
parent356d8c24997d33a83482c2d20c31b106a3b8db08 (diff)
Allow EmitConstantPool to be redefined by derived classes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28952 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index af80d3ce8c..3b47a8ff94 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -265,7 +265,7 @@ namespace llvm {
/// used to print out constants which have been "spilled to memory" by
/// the code generator.
///
- void EmitConstantPool(MachineConstantPool *MCP);
+ virtual void EmitConstantPool(MachineConstantPool *MCP);
/// EmitJumpTableInfo - Print assembly representations of the jump tables
/// used by the current function to the current output stream.