changeset 15920:4b835260c746

backout 88a6017687c9
author Josef Eisl <josef.eisl@jku.at>
date Tue, 27 May 2014 10:22:28 +0200
parents 0bfce5328510
children 6d8c901814eb
files graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/LinearScan.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/LinearScan.java	Mon May 26 20:27:28 2014 +0200
+++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/LinearScan.java	Tue May 27 10:22:28 2014 +0200
@@ -2057,7 +2057,7 @@
                 int numUsePos = usePosList.size();
                 for (int useIdx = 0; useIdx < numUsePos; useIdx++) {
                     Interval.RegisterPriority priority = usePosList.registerPriority(useIdx);
-                    if (priority.greaterEqual(Interval.RegisterPriority.ShouldHaveRegister)) {
+                    if (priority == Interval.RegisterPriority.ShouldHaveRegister) {
                         return null;
                     }
                 }