From 3fae17eea4bda11f09b1d49f3e84ec2eee6de707 Mon Sep 17 00:00:00 2001 From: iga Date: Wed, 2 Apr 2014 06:37:11 +0900 Subject: [PATCH] save --- jcfa/src/jp/igapyon/jcfa/JcfaParser.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jcfa/src/jp/igapyon/jcfa/JcfaParser.java b/jcfa/src/jp/igapyon/jcfa/JcfaParser.java index 487f926..a5c1e19 100644 --- a/jcfa/src/jp/igapyon/jcfa/JcfaParser.java +++ b/jcfa/src/jp/igapyon/jcfa/JcfaParser.java @@ -182,6 +182,8 @@ public class JcfaParser { case Constants.LOOKUPSWITCH: { int result = JcfaUtil.byte2Int(codes[pc + 1], codes[pc + 2], codes[pc + 3], codes[pc + 4]); + jcfaCode.getComment().getCommentList() + .add(" TODO skipping operands: why?: " + result); int lookupOp = pc + 5; @@ -190,6 +192,7 @@ public class JcfaParser { int loopCount = JcfaUtil .byte2Int(codes[lookupOp++], codes[lookupOp++], codes[lookupOp++], codes[lookupOp++]); + // switch table on loopCount. short diff2 = JcfaUtil.byte2UnsignedByte(codes[lookupOp++]); jcfaCode.getComment().getCommentList() -- 2.11.0