The "extractvalue" instruction can be created only via Builder.getresult().
This naming persists (presumably) for historical reasons, but is surprising and
violates the typically-simple mapping between LLVM instructions and llvm-py
method names.
The attached one-line patch *adds* Builder.extract_value() as a synonym for
Builder.getresult(). The underscore follows the convention set by
Builder.extract_element().
Original issue reported on code.google.com by bsilverthorn on 19 Oct 2010 at 5:28
Original issue reported on code.google.com by
bsilverthorn
on 19 Oct 2010 at 5:28Attachments: