[Fb-contrib-commit] SF.net SVN: fb-contrib: [401] trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/det
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2006-04-06 14:25:48
|
Revision: 401 Author: dbrosius Date: 2006-04-06 07:25:39 -0700 (Thu, 06 Apr 2006) ViewCVS: http://svn.sourceforge.net/fb-contrib/?rev=401&view=rev Log Message: ----------- Add aload/astore reg checking... starting to limp along, altho too many bugs found Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonOwnedSynchronization.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonOwnedSynchronization.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonOwnedSynchronization.java 2006-04-06 14:19:34 UTC (rev 400) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonOwnedSynchronization.java 2006-04-06 14:25:39 UTC (rev 401) @@ -92,7 +92,11 @@ tosIsPriority = OWNED; break; - case ALOAD: { + case ALOAD: + case ALOAD_0: + case ALOAD_1: + case ALOAD_2: + case ALOAD_3: { int reg = RegisterUtils.getALoadReg(this, seen); if (getMethod().isStatic() && (reg == 0)) tosIsPriority = LOW_PRIORITY; @@ -104,7 +108,11 @@ } break; - case ASTORE: { + case ASTORE: + case ASTORE_0: + case ASTORE_1: + case ASTORE_2: + case ASTORE_3: { if (stack.getStackDepth() > 0) { OpcodeStack.Item item = stack.getStackItem(0); Integer priority = (Integer)item.getUserValue(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |