Revision: 15774
http://jikesrvm.svn.sourceforge.net/jikesrvm/?rev=15774&view=revAuthor: dframpton-oss
Date: 2009-09-02 23:44:39 +0000 (Wed, 02 Sep 2009)
Log Message:
-----------
Change to use the double 'max' constant instead of int. This avoids the crashes that were seen when adding loops and volatiles into write barriers.
Modified Paths:
--------------
rvmroot/trunk/rvm/src/org/jikesrvm/compilers/opt/regalloc/LinearScan.java
Modified: rvmroot/trunk/rvm/src/org/jikesrvm/compilers/opt/regalloc/LinearScan.java
===================================================================
--- rvmroot/trunk/rvm/src/org/jikesrvm/compilers/opt/regalloc/LinearScan.java 2009-09-01 23:23:30 UTC (rev 15773)
+++ rvmroot/trunk/rvm/src/org/jikesrvm/compilers/opt/regalloc/LinearScan.java 2009-09-02 23:44:39 UTC (rev 15774)
@@ -1596,7 +1596,7 @@
System.out.println(" must not spill: " + result.getRegister());
}
result = null;
- minCost = Integer.MAX_VALUE;
+ minCost = Double.MAX_VALUE;
}
for (Iterator<BasicInterval> e = iterator(); e.hasNext();) {
MappedBasicInterval b = (MappedBasicInterval) e.next();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
Jikesrvm-commits mailing list
Jikesrvm-commits@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-commits