# HG changeset patch # User Doug Simon # Date 1401128848 -7200 # Node ID 0bfce53285102912c19a7d9ed0180dde4bac0068 # Parent 2977687e6db09ae601e545cb6735361f62dddde5# Parent 88a6017687c952e00c34f5082f326ed923878966 Merge. diff -r 2977687e6db0 -r 0bfce5328510 graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/LinearScan.java --- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/LinearScan.java Mon May 26 19:54:15 2014 +0200 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/LinearScan.java Mon May 26 20:27: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 == Interval.RegisterPriority.ShouldHaveRegister) { + if (priority.greaterEqual(Interval.RegisterPriority.ShouldHaveRegister)) { return null; } }