From 7f26d3ae15177278590d14d0a1385efeaecc151a Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 14 May 1999 11:36:20 +0000 Subject: [PATCH] some comments, bug fix for ifne opcodes git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@814 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/jvm/Interpreter.j | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jode/jode/jvm/Interpreter.j b/jode/jode/jvm/Interpreter.j index a1f7dd6..dbc6f8b 100644 --- a/jode/jode/jvm/Interpreter.j +++ b/jode/jode/jvm/Interpreter.j @@ -1300,17 +1300,17 @@ ificmp: aaload invokevirtual jode/jvm/Value/intValue()I dup2 - if_icmplt ificmp_greater + if_icmplt ificmp_greater ; Note, that operands are swapped if_icmpeq ificmp_equal ificmp_less: - bipush 0x09 + bipush 0x19 ; ne,lt,le goto ificmp_final ificmp_equal: - bipush 0x25 + bipush 0x25 ; eq,ge,le goto ificmp_final ificmp_greater: pop2 - bipush 0x06 + bipush 0x16 ; ne,ge,gt ificmp_final: swap ishl