diff options
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-01-16 02:45:46 +0000 |
---|---|---|
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-01-16 02:45:46 +0000 |
commit | 65aae006bf65751ef5616ad5903e526dec9ddeab (patch) | |
tree | 3612ec429c484282dead6d72d28cfeaf77fdc38d | |
parent | bdfc582edfccb948b563677e2d82fee5f0ba96f6 (diff) |
Few targets do not have a single directive to emit global constants.
For example, PIC16 needs to break a long or int constant into mulitple parts and emit multiple directives. So Allow targets to overried EmitConstantValueOnly().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62301 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index cdc7951625..b50604bb12 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -317,7 +317,7 @@ namespace llvm { /// 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 EmitConstantValueOnly(const Constant *CV); /// EmitGlobalConstant - Print a general LLVM constant to the .s file. void EmitGlobalConstant(const Constant* CV); |