mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
And an FoldingSetImpl::NodeID::AddInteger overload for int64_t, to avoid
ambiguity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41960 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
99da4e719c
commit
f82e1e66ce
@ -149,6 +149,7 @@ public:
|
||||
void AddPointer(const void *Ptr);
|
||||
void AddInteger(signed I);
|
||||
void AddInteger(unsigned I);
|
||||
void AddInteger(int64_t I);
|
||||
void AddInteger(uint64_t I);
|
||||
void AddFloat(float F);
|
||||
void AddDouble(double D);
|
||||
|
@ -40,6 +40,9 @@ void FoldingSetImpl::NodeID::AddInteger(signed I) {
|
||||
void FoldingSetImpl::NodeID::AddInteger(unsigned I) {
|
||||
Bits.push_back(I);
|
||||
}
|
||||
void FoldingSetImpl::NodeID::AddInteger(int64_t I) {
|
||||
AddInteger((uint64_t)I);
|
||||
}
|
||||
void FoldingSetImpl::NodeID::AddInteger(uint64_t I) {
|
||||
Bits.push_back(unsigned(I));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user