Fix vector indexing in consts so it works with the enum vector const fix.
This commit is contained in:
parent
de8dc02634
commit
e89d9853a6
3 changed files with 38 additions and 10 deletions
|
@ -382,6 +382,7 @@ pub extern mod llvm {
|
|||
pub unsafe fn LLVMGetUsedValue(U: UseRef) -> ValueRef;
|
||||
|
||||
/* Operations on Users */
|
||||
pub unsafe fn LLVMGetNumOperands(Val: ValueRef) -> c_int;
|
||||
pub unsafe fn LLVMGetOperand(Val: ValueRef, Index: c_uint) -> ValueRef;
|
||||
pub unsafe fn LLVMSetOperand(Val: ValueRef, Index: c_uint, Op: ValueRef);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue