Modifying Instruction List
mayanez opened this issue · comments
Hi,
Looking through the C++ API it seems that you must modify the underlying list. I've been reading through the code and so far what I gather is that getInstList() is read-only. Basically what I would like to do is something like ReplaceInstWithInst() from the C++ API.
How do I go about modifying it with llvmpy?
Thanks
Added in this commit: b6c1e7a