Mercurial > hg > graal-compiler
diff graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java @ 2767:cc2b98e2b832
Reduced moveToPhi usages to 1.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Mon, 23 May 2011 16:23:28 +0200 |
parents | b72e6638b9e6 |
children | 43ffa0e47a46 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java Mon May 23 15:07:01 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java Mon May 23 16:23:28 2011 +0200 @@ -565,9 +565,6 @@ CiValue tag = load(x.value()); setNoResult(x); - // move values into phi locations - moveToPhi(x.stateAfter()); - if (x.numberOfCases() == 0 || x.numberOfCases() < C1XOptions.SequentialSwitchLimit) { int len = x.numberOfCases(); for (int i = 0; i < len; i++) { @@ -825,9 +822,6 @@ CiValue tag = value.result(); setNoResult(x); - // move values into phi locations - moveToPhi(x.stateAfter()); - // TODO: tune the defaults for the controls used to determine what kind of translation to use if (x.numberOfCases() == 0 || x.numberOfCases() <= C1XOptions.SequentialSwitchLimit) { int loKey = x.lowKey();