OSDN Git Service

save
[jcfa/jcfa.git] / jcfa / src / jp / igapyon / jcfa / util / JcfaWriteUtil.java
index 73c6e25..182953a 100644 (file)
@@ -157,6 +157,9 @@ public class JcfaWriteUtil {
                        case Constants.DCONST_1:
                        case Constants.BIPUSH:
                        case Constants.SIPUSH:
+                               jcfaCode.getComment().getCommentList()
+                                               .add("TODO unsupported opcode");
+                               break;
                        case Constants.LDC: {
                                final JcfaItemReference osString = new JcfaItemReference();
                                jcfaMethod.getFrame().getOperandStack().push(osString);
@@ -172,6 +175,9 @@ public class JcfaWriteUtil {
                        case Constants.LLOAD:
                        case Constants.FLOAD:
                        case Constants.DLOAD:
+                               jcfaCode.getComment().getCommentList()
+                                               .add("TODO unsupported opcode");
+                               break;
                        case Constants.ALOAD: {
                                final JcfaItemLocalVariable osLocalVariable = new JcfaItemLocalVariable();
                                jcfaMethod.getFrame().getOperandStack().push(osLocalVariable);
@@ -328,6 +334,9 @@ public class JcfaWriteUtil {
                        case Constants.JSR:
                        case Constants.RET:
                        case Constants.TABLESWITCH:
+                               jcfaCode.getComment().getCommentList()
+                                               .add("TODO unsupported opcode");
+                               break;
                        case Constants.LOOKUPSWITCH: {
                                if (true) {
                                        jcfaCode.getComment().getCommentList()
@@ -373,6 +382,9 @@ public class JcfaWriteUtil {
                        case Constants.FRETURN:
                        case Constants.DRETURN:
                        case Constants.ARETURN:
+                               jcfaCode.getComment().getCommentList()
+                                               .add("TODO unsupported opcode");
+                               break;
                        case Constants.RETURN: {
                                break;
                        }
@@ -388,6 +400,9 @@ public class JcfaWriteUtil {
                        case Constants.PUTSTATIC:
                        case Constants.GETFIELD:
                        case Constants.PUTFIELD:
+                               jcfaCode.getComment().getCommentList()
+                                               .add("TODO unsupported opcode");
+                               break;
                        case Constants.INVOKEVIRTUAL:
                        case Constants.INVOKESPECIAL: {
                                final int operand = JcfaUtil.byte2UnsignedShort(codes[1],
@@ -428,6 +443,9 @@ public class JcfaWriteUtil {
                        case Constants.IFNONNULL:
                        case Constants.GOTO_W:
                        case Constants.JSR_W:
+                               jcfaCode.getComment().getCommentList()
+                                               .add("TODO unsupported opcode");
+                               break;
                        default:
                                jcfaCode.getComment().getCommentList()
                                                .add("TODO unsupported opcode");