[Fb-contrib-commit] SF.net SVN: fb-contrib:[1540] trunk/fb-contrib/samples/PCAIL_Sample.java
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2010-04-04 08:27:31
|
Revision: 1540
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1540&view=rev
Author: dbrosius
Date: 2010-04-04 08:27:25 +0000 (Sun, 04 Apr 2010)
Log Message:
-----------
add fp based on two assigns to the same reg
Modified Paths:
--------------
trunk/fb-contrib/samples/PCAIL_Sample.java
Modified: trunk/fb-contrib/samples/PCAIL_Sample.java
===================================================================
--- trunk/fb-contrib/samples/PCAIL_Sample.java 2010-04-04 08:21:52 UTC (rev 1539)
+++ trunk/fb-contrib/samples/PCAIL_Sample.java 2010-04-04 08:27:25 UTC (rev 1540)
@@ -1,4 +1,7 @@
import java.net.URL;
+import java.util.HashSet;
+import java.util.Set;
+import java.util.TreeSet;
public class PCAIL_Sample
@@ -75,4 +78,19 @@
throw new RuntimeException();
}
}
+
+ public void fpTwoAssigns()
+ {
+ for (int i = 0; i < 10; i++)
+ {
+ Set<String> s;
+
+ if ((i % 2) == 0)
+ s = new HashSet<String>();
+ else
+ s = new TreeSet<String>();
+
+ s.add(String.valueOf(i));
+ }
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|