changeset 19076:76dd59e530b2

Rename EnableLSStackSlotAllocation command line flag to LSStackSlotAllocation.
author Josef Eisl <josef.eisl@jku.at>
date Fri, 30 Jan 2015 15:23:32 +0100
parents 0d7302ddcc90
children 3dd21f7125e9
files graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/LSStackSlotAllocator.java
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java	Thu Jan 29 16:34:55 2015 -0800
+++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java	Fri Jan 30 15:23:32 2015 +0100
@@ -359,7 +359,7 @@
             try (Scope s1 = Debug.scope("BuildFrameMap")) {
                 // build frame map
                 final StackSlotAllocator allocator;
-                if (LSStackSlotAllocator.Options.EnableLSStackSlotAllocation.getValue()) {
+                if (LSStackSlotAllocator.Options.LSStackSlotAllocation.getValue()) {
                     allocator = new LSStackSlotAllocator();
                 } else {
                     allocator = new SimpleStackSlotAllocator();
--- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/LSStackSlotAllocator.java	Thu Jan 29 16:34:55 2015 -0800
+++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/LSStackSlotAllocator.java	Fri Jan 30 15:23:32 2015 +0100
@@ -53,8 +53,8 @@
 
     public static class Options {
         // @formatter:off
-        @Option(help = "Enable linear scan stack slot allocation.", type = OptionType.Debug)
-        public static final OptionValue<Boolean> EnableLSStackSlotAllocation = new OptionValue<>(true);
+        @Option(help = "Use linear scan stack slot allocation.", type = OptionType.Debug)
+        public static final OptionValue<Boolean> LSStackSlotAllocation = new OptionValue<>(true);
         // @formatter:on
     }