Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency between If and IfCmp #4

Open
DanielGibbsNZ opened this issue Aug 16, 2013 · 1 comment
Open

Inconsistency between If and IfCmp #4

DanielGibbsNZ opened this issue Aug 16, 2013 · 1 comment

Comments

@DanielGibbsNZ
Copy link
Contributor

The IfCmp bytecode takes an int as the first argument (the type of comparison) while the If bytecode takes an IfMode (enum) as the first argument (the type of comparison).

It would be nice if both of these bytecodes used the same type for the first argument, as they share most of the different comparisons, and it would benefit code re-use.

@DavePearce
Copy link
Member

Hi Daniel,

Agreed. I will try and fix this shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants