Fixed Builder.select (Paulo Silva); added Instruction.is_terminator.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@40 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
parent
f42a40c120
commit
bf2d901db2
7 changed files with 28 additions and 5 deletions
|
|
@ -84,6 +84,10 @@ LLVMValueRef LLVMBuildVFCmp(LLVMBuilderRef B, LLVMRealPredicate Op,
|
|||
}
|
||||
#endif
|
||||
|
||||
unsigned LLVMInstIsTerminator(LLVMValueRef I) {
|
||||
return unwrap<Instruction>(I)->isTerminator() ? 1 : 0;
|
||||
}
|
||||
|
||||
LLVMValueRef LLVMBuildRetMultiple(LLVMBuilderRef B, LLVMValueRef *Values,
|
||||
unsigned NumValues) {
|
||||
std::vector<Value *> Vs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue