More to BasicBlock
This commit is contained in:
parent
113f30ffab
commit
b9ac22d136
2 changed files with 9 additions and 1 deletions
|
|
@ -724,5 +724,11 @@ PyObject* MDNode_get(llvm::LLVMContext &Cxt, PyObject* Vals)
|
|||
}
|
||||
|
||||
|
||||
|
||||
static
|
||||
PyObject* BasicBlock_getInstList(llvm::BasicBlock* BB)
|
||||
{
|
||||
return iplist_to_pylist(BB->getInstList(),
|
||||
"llvm::Value",
|
||||
"llvm::Instruction");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue