Jasm icon indicating copy to clipboard operation
Jasm copied to clipboard

Inconsistency between If and IfCmp

Open DanielGibbsNZ opened this issue 12 years ago • 1 comments

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.

DanielGibbsNZ avatar Aug 16 '13 22:08 DanielGibbsNZ

Hi Daniel,

Agreed. I will try and fix this shortly.

DavePearce avatar Aug 19 '13 00:08 DavePearce