mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-24 07:01:35 +00:00
new method for adding ints
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29622 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4a283e90af
commit
e2e34093c7
@ -98,6 +98,12 @@ namespace llvm {
|
||||
void SetOperands(const SDOperand *Ops, unsigned NumOps);
|
||||
void AddOperand(SDOperand Op);
|
||||
void AddPointer(const void *Ptr);
|
||||
void AddInteger(int I) {
|
||||
Bits.push_back((I >> 0) & 0xFF);
|
||||
Bits.push_back((I >> 8) & 0xFF);
|
||||
Bits.push_back((I >> 16) & 0xFF);
|
||||
Bits.push_back((I >> 24) & 0xFF);
|
||||
}
|
||||
|
||||
unsigned ComputeHash() const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user