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 | 30bd1945046eeca677a70120cb8325eae0801939 (patch) | |
tree | 56c5149215161d3df5c72d1fbb1073e3656f0165 | |
parent | 9b7714d90910c01ab65926e36685db47e5b301c9 (diff) | |
download | bcm5719-llvm-30bd1945046eeca677a70120cb8325eae0801939.tar.gz bcm5719-llvm-30bd1945046eeca677a70120cb8325eae0801939.zip |
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().
llvm-svn: 62301
-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 cdc79516257..b50604bb121 100644 --- a/llvm/include/llvm/CodeGen/AsmPrinter.h +++ b/llvm/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); |