[jboss-cvs] javassist SVN: r603 - trunk/src/main/javassist/bytecode/analysis.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Nov 24 06:21:16 EST 2011


Author: chiba
Date: 2011-11-24 06:21:16 -0500 (Thu, 24 Nov 2011)
New Revision: 603

Modified:
   trunk/src/main/javassist/bytecode/analysis/ControlFlow.java
Log:
added parent() to jvst.bytecode.analysis.ControlFlow.java

Modified: trunk/src/main/javassist/bytecode/analysis/ControlFlow.java
===================================================================
--- trunk/src/main/javassist/bytecode/analysis/ControlFlow.java	2011-11-12 16:08:52 UTC (rev 602)
+++ trunk/src/main/javassist/bytecode/analysis/ControlFlow.java	2011-11-24 11:21:16 UTC (rev 603)
@@ -41,6 +41,7 @@
  * @see Frame
  * @see Analyzer
  * @author Shigeru Chiba
+ * @since 3.16
  */
 public class ControlFlow {
     private CtClass clazz;
@@ -259,6 +260,12 @@
         public Block exit(int n) { return (Block)exit[n]; }
 
         /**
+         * Returns the parent of this block in the dominator
+         * tree.
+         */
+        public Block parent() { return parent; }
+
+        /**
          * Returns the number of the children of this block
          * in the dominator tree.
          */



More information about the jboss-cvs-commits mailing list