Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ir: remove isVoidType in favour of types.Equal(n.Type(), types.Void)
This is one small step towards allowing user-defined instructions. Note, this commit is not perfect though, since we may want to allow user-defined types too, and this commit relies on types.Void instead of some to-be-defined IsVoidType interface (or something along those lines). Updates #59.
- Loading branch information