mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-25 10:48:14 +00:00
new method for adding ints
llvm-svn: 29622
This commit is contained in:
parent
fcb16470ec
commit
7d807827a9
@ -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