mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 18:37:17 +00:00
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
This commit is contained in:
parent
bdfc582edf
commit
65aae006bf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user