From df363d6ed0888cb21b7a2b0041b5e6c619abbea2 Mon Sep 17 00:00:00 2001 From: jochen Date: Sat, 20 Mar 1999 00:34:21 +0000 Subject: [PATCH] fillSuccessor has different semantic: It calls addSuccessor of flowBlock on each jump git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@463 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/flow/StructuredBlock.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jode/jode/flow/StructuredBlock.java b/jode/jode/flow/StructuredBlock.java index c670fa9..cc031e8 100644 --- a/jode/jode/flow/StructuredBlock.java +++ b/jode/jode/flow/StructuredBlock.java @@ -511,16 +511,16 @@ public abstract class StructuredBlock { } /** - * Put all the successors of this block and all subblocks into - * the given vector. + * Add all the successors of this block and all subblocks to the + * flow block. * @param succs The vector, the successors should be stored to. */ - public void fillSuccessors(java.util.Vector succs) { + public void fillSuccessors() { if (jump != null) - succs.addElement(jump); + flowBlock.addSuccessor(jump); StructuredBlock[] subs = getSubBlocks(); for (int i=0; i