[jboss-cvs] javassist/src/main/javassist/bytecode ...
Shigeru Chiba
chiba at is.titech.ac.jp
Thu Apr 26 10:58:16 EDT 2007
User: chiba
Date: 07/04/26 10:58:16
Modified: src/main/javassist/bytecode StackMapTable.java Opcode.java
Log:
snapshot. I am still working on stackmap support.
Revision Changes Path
1.7 +6 -2 javassist/src/main/javassist/bytecode/StackMapTable.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: StackMapTable.java
===================================================================
RCS file: /cvsroot/jboss/javassist/src/main/javassist/bytecode/StackMapTable.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- StackMapTable.java 10 Apr 2007 16:32:32 -0000 1.6
+++ StackMapTable.java 26 Apr 2007 14:58:16 -0000 1.7
@@ -509,9 +509,10 @@
}
/**
- * Writes a <code>append_frame</code>.
+ * Writes a <code>append_frame</code>. The number of the appended
+ * locals is specified by the length of <code>tags</code>.
*
- * @param tag <code>locals[].tag</code>.
+ * @param tags <code>locals[].tag</code>.
* The length of this array must be
* either 1, 2, or 3.
* @param data <code>locals[].cpool_index</code>
@@ -531,6 +532,9 @@
/**
* Writes a <code>full_frame</code>.
+ * <code>number_of_locals</code> and <code>number_of_stack_items</code>
+ * are specified by the the length of <code>localTags</code> and
+ * <code>stackTags</code>.
*
* @param localTags <code>locals[].tag</code>.
* @param localData <code>locals[].cpool_index</code>
1.7 +1 -1 javassist/src/main/javassist/bytecode/Opcode.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Opcode.java
===================================================================
RCS file: /cvsroot/jboss/javassist/src/main/javassist/bytecode/Opcode.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- Opcode.java 11 Jan 2006 06:45:56 -0000 1.6
+++ Opcode.java 26 Apr 2007 14:58:16 -0000 1.7
@@ -432,7 +432,7 @@
0, // newarray, 188
0, // anewarray, 189
0, // arraylength, 190
- 0, // athrow, 191 stack is cleared
+ -1, // athrow, 191 stack is cleared
0, // checkcast, 192
0, // instanceof, 193
-1, // monitorenter, 194
More information about the jboss-cvs-commits
mailing list