[Fb-contrib-commit] SF.net SVN: fb-contrib: [1017] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib
Brought to you by:
dbrosius
From: <dbr...@us...> - 2008-04-02 03:15:53
|
Revision: 1017 http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1017&view=rev Author: dbrosius Date: 2008-04-01 20:15:53 -0700 (Tue, 01 Apr 2008) Log Message: ----------- fix deprecations Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/FieldCouldBeLocal.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/FieldCouldBeLocal.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/FieldCouldBeLocal.java 2008-04-02 03:14:57 UTC (rev 1016) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/FieldCouldBeLocal.java 2008-04-02 03:15:53 UTC (rev 1017) @@ -209,7 +209,7 @@ bb = bState.getBasicBlock(); uncheckedFields = bState.getUncheckedFields(); - visitedBlocks.set(bb.getId()); + visitedBlocks.set(bb.getLabel()); InstructionIterator ii = bb.instructionIterator(); while ((uncheckedFields.size() > 0) && ii.hasNext()) { InstructionHandle ih = ii.next(); @@ -236,7 +236,7 @@ while (oei.hasNext()) { Edge e = oei.next(); BasicBlock cb = e.getTarget(); - if (!visitedBlocks.get(cb.getId())) { + if (!visitedBlocks.get(cb.getLabel())) { toBeProcessed.addLast(new BlockState(cb, uncheckedFields)); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |