OSDN Git Service

Allow EmitConstantPool to be redefined by derived classes.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 28 Jun 2006 00:52:32 +0000 (00:52 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 28 Jun 2006 00:52:32 +0000 (00:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28952 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/AsmPrinter.h

index af80d3c..3b47a8f 100644 (file)
@@ -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.