MichaReiser / llvm-node

LLVM 9.0+ Node Bindings
MIT License
183 stars 29 forks source link

Add createIntToPtr() #117

Closed luikore closed 3 years ago

luikore commented 3 years ago

This should fix #115

MichaReiser commented 3 years ago

Thanks, @luikore for your contribution.

Would you mind adding a small test for the added method? You should be able to do the opposite of the createPtrToInt test

https://github.com/MichaReiser/llvm-node/blob/9528fcfeceb3c7dc5801e31f04245d4f67c96ea8/test/ir/ir-builder.spec.ts#L723-L736

luikore commented 3 years ago

@MichaReiser Added

MichaReiser commented 3 years ago

Perfect, thank you for this contribution!