OSDN Git Service

save
authoriga <tosiki.iga@nifty.ne.jp>
Tue, 1 Apr 2014 21:37:11 +0000 (06:37 +0900)
committeriga <tosiki.iga@nifty.ne.jp>
Tue, 1 Apr 2014 21:37:11 +0000 (06:37 +0900)
jcfa/src/jp/igapyon/jcfa/JcfaParser.java

index 487f926..a5c1e19 100644 (file)
@@ -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()