Fix vector indexing in consts so it works with the enum vector const fix.

This commit is contained in:
Jed Davis 2013-01-30 23:59:50 -08:00
parent de8dc02634
commit e89d9853a6
3 changed files with 38 additions and 10 deletions

View file

@ -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);