changeset 22166:72fa6c115a9b

Add javadoc to SpillMoveFactory.
author Josef Eisl <josef.eisl@jku.at>
date Tue, 07 Jul 2015 16:05:01 +0200
parents 9a2015b7afab
children 07123623b5e1
files graal/com.oracle.graal.lir/src/com/oracle/graal/lir/gen/LIRGeneratorTool.java
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/gen/LIRGeneratorTool.java	Tue Jul 07 15:45:49 2015 +0200
+++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/gen/LIRGeneratorTool.java	Tue Jul 07 16:05:01 2015 +0200
@@ -33,6 +33,12 @@
 
 public interface LIRGeneratorTool extends ArithmeticLIRGenerator, BenchmarkCounterFactory {
 
+    /**
+     * Factory for creating spill moves.
+     *
+     * The instructions returned by the methods must only depend on the input values. References to
+     * values that require interaction with register allocation are strictly forbidden.
+     */
     public interface SpillMoveFactory {
 
         LIRInstruction createMove(AllocatableValue result, Value input);