diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-23 06:17:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-23 06:17:14 +0000 |
commit | 54bfda730f4b2436460fc39e7c1633a489bad2a2 (patch) | |
tree | b76401cb8270c33e94ed6f765ed8186264a5bf59 /include/llvm/CodeGen/AsmPrinter.h | |
parent | c21aa853295edcda4309bb81da4d835156949843 (diff) | |
download | external_llvm-54bfda730f4b2436460fc39e7c1633a489bad2a2.tar.gz external_llvm-54bfda730f4b2436460fc39e7c1633a489bad2a2.tar.bz2 external_llvm-54bfda730f4b2436460fc39e7c1633a489bad2a2.zip |
Change constantexpr global variable initializers to convert the constants
to MCExpr then emit them through MCStreamer with EmitValue. I think all
global variable initializers are now going through mcstreamer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 799eeb0486..a79a046658 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -347,10 +347,6 @@ namespace llvm { void EmitGlobalConstant(const Constant* CV, unsigned AddrSpace = 0); protected: - /// EmitConstantValueOnly - Print out the specified constant, without a - /// storage class. Only constants of first-class type are allowed here. - void EmitConstantValueOnly(const Constant *CV); - virtual void EmitMachineConstantPoolValue(MachineConstantPoolValue *MCPV); /// processDebugLoc - Processes the debug information of each machine |