Mercurial > hg > graal-compiler
changeset 22446:68c0237791e8
TraceRA: TraceLinearScanLifetimeAnalysisPhase: use whitelist condition instead of blacklist.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Tue, 11 Aug 2015 18:12:05 +0200 |
parents | 788378056800 |
children | cc1f997e6185 |
files | graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/trace/TraceLinearScanLifetimeAnalysisPhase.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/trace/TraceLinearScanLifetimeAnalysisPhase.java Thu Aug 13 11:19:18 2015 +0200 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/trace/TraceLinearScanLifetimeAnalysisPhase.java Tue Aug 11 18:12:05 2015 +0200 @@ -144,7 +144,7 @@ Value fromValue = outgoing.getOutgoingValue(i); assert sameTrace(block, pred) || !isVariable(fromValue) : "Unallocated variable: " + fromValue; - if (!isStackSlotValue(fromValue) && !isConstant(fromValue)) { + if (isRegister(fromValue) || isVariable(fromValue)) { Interval from = allocator.getOrCreateInterval((AllocatableValue) fromValue); Interval to = allocator.getOrCreateInterval((AllocatableValue) toValue); setHint(label, to, from);