changeset 12694:65513c398fd2

make LIRGenerator.emitSequentialSwitch protected
author Lukas Stadler <lukas.stadler@jku.at>
date Wed, 06 Nov 2013 16:01:03 +0100
parents c6b833f7935e
children 4aec62c32a82
files graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/gen/LIRGenerator.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/gen/LIRGenerator.java	Wed Nov 06 14:14:09 2013 +0100
+++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/gen/LIRGenerator.java	Wed Nov 06 16:01:03 2013 +0100
@@ -773,7 +773,7 @@
         }
     }
 
-    private void emitSequentialSwitch(final SwitchNode x, Variable key, LabelRef defaultTarget) {
+    protected void emitSequentialSwitch(final SwitchNode x, Variable key, LabelRef defaultTarget) {
         int keyCount = x.keyCount();
         Integer[] indexes = Util.createSortedPermutation(keyCount, new Comparator<Integer>() {