ruby-llvm
ruby-llvm copied to clipboard
Next
Here are all of the changes put into individual commits. The issue with the protected method in execution_engine.rb was an unfortunate side effect of me learning git. I thought I had removed that change.
The ibr instruction's optional parameter isn't arbitrary (at least here it isn't): the value is the same default value as found in the C++ API. I've subclassed Instruction and provided a method (and alias) for calling LLVMAddDestination.
Is there any further work that needs to be done before you can pull this?
@chriswailes I believe I've ported all your changes: https://github.com/ruby-llvm/ruby-llvm/pull/16