Mercurial > hg > graal-compiler
changeset 20109:30d6b0cd1394
MoveProfiling: rename LIROptMoveProfiling option to LIRProfileMoves.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Wed, 01 Apr 2015 13:30:06 +0200 |
parents | 36fdc4af85d5 |
children | 45d46b136777 3d3e16f6077a |
files | graal/com.oracle.graal.lir/src/com/oracle/graal/lir/phases/PostAllocationOptimizationStage.java |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/phases/PostAllocationOptimizationStage.java Wed Apr 01 11:48:18 2015 +0200 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/phases/PostAllocationOptimizationStage.java Wed Apr 01 13:30:06 2015 +0200 @@ -40,8 +40,10 @@ public static final NestedBooleanOptionValue LIROptRedundantMoveElimination = new NestedBooleanOptionValue(LIROptimization, true); @Option(help = "", type = OptionType.Debug) public static final NestedBooleanOptionValue LIROptNullCheckOptimizer = new NestedBooleanOptionValue(LIROptimization, true); - @Option(help = "", type = OptionType.Debug) - public static final OptionValue<Boolean> LIROptMoveProfiling = new OptionValue<>(false); + @Option(help = "Enables profiling of move types on LIR level. " + + "Move types are for example stores (register to stack), " + + "constant loads (constant to register) or copies (register to register).", type = OptionType.Debug) + public static final OptionValue<Boolean> LIRProfileMoves = new OptionValue<>(false); // @formatter:on } @@ -58,7 +60,7 @@ if (Options.LIROptNullCheckOptimizer.getValue()) { appendPhase(new NullCheckOptimizer()); } - if (Options.LIROptMoveProfiling.getValue()) { + if (Options.LIRProfileMoves.getValue()) { appendPhase(new MoveProfiling()); } }