changeset 22686:b7ccafc71a9d

AMD64: Remove StoreRbpOp.
author Josef Eisl <josef.eisl@jku.at>
date Fri, 18 Sep 2015 16:32:38 +0200
parents 36e61de8d971
children fdfe748e98d8
files graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotMove.java
diffstat 1 files changed, 0 insertions(+), 39 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotMove.java	Tue Sep 22 18:04:38 2015 -0700
+++ b/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotMove.java	Fri Sep 18 16:32:38 2015 +0200
@@ -31,14 +31,12 @@
 import static jdk.internal.jvmci.code.ValueUtil.isStackSlot;
 import jdk.internal.jvmci.amd64.AMD64Kind;
 import jdk.internal.jvmci.code.Register;
-import jdk.internal.jvmci.code.StackSlotValue;
 import jdk.internal.jvmci.common.JVMCIError;
 import jdk.internal.jvmci.hotspot.HotSpotMetaspaceConstant;
 import jdk.internal.jvmci.hotspot.HotSpotObjectConstant;
 import jdk.internal.jvmci.hotspot.HotSpotVMConfig.CompressEncoding;
 import jdk.internal.jvmci.meta.AllocatableValue;
 import jdk.internal.jvmci.meta.Constant;
-import jdk.internal.jvmci.meta.Value;
 
 import com.oracle.graal.asm.Label;
 import com.oracle.graal.asm.amd64.AMD64Address;
@@ -47,7 +45,6 @@
 import com.oracle.graal.compiler.common.GraalOptions;
 import com.oracle.graal.lir.LIRInstructionClass;
 import com.oracle.graal.lir.StandardOp.LoadConstantOp;
-import com.oracle.graal.lir.StandardOp.StackStoreOp;
 import com.oracle.graal.lir.amd64.AMD64LIRInstruction;
 import com.oracle.graal.lir.amd64.AMD64Move;
 import com.oracle.graal.lir.asm.CompilationResultBuilder;
@@ -208,42 +205,6 @@
         }
     }
 
-    public static final class StoreRbpOp extends AMD64LIRInstruction implements StackStoreOp {
-        public static final LIRInstructionClass<StoreRbpOp> TYPE = LIRInstructionClass.create(StoreRbpOp.class);
-
-        @Def({REG, HINT}) protected AllocatableValue result;
-        @Use({REG}) protected AllocatableValue input;
-        @Def({STACK}) protected StackSlotValue stackSlot;
-
-        protected StoreRbpOp(AllocatableValue result, AllocatableValue input, StackSlotValue stackSlot) {
-            super(TYPE);
-            assert result.getLIRKind().equals(input.getLIRKind()) && stackSlot.getLIRKind().equals(input.getLIRKind()) : String.format("result %s, input %s, stackSlot %s", result.getLIRKind(),
-                            input.getLIRKind(), stackSlot.getLIRKind());
-            this.result = result;
-            this.input = input;
-            this.stackSlot = stackSlot;
-        }
-
-        public Value getInput() {
-            return input;
-        }
-
-        public AllocatableValue getResult() {
-            return result;
-        }
-
-        public StackSlotValue getStackSlot() {
-            return stackSlot;
-        }
-
-        @Override
-        public void emitCode(CompilationResultBuilder crb, AMD64MacroAssembler masm) {
-            AMD64Kind kind = (AMD64Kind) result.getPlatformKind();
-            AMD64Move.move(kind, crb, masm, result, input);
-            AMD64Move.move(kind, crb, masm, stackSlot, input);
-        }
-    }
-
     public static final class UncompressPointer extends AMD64LIRInstruction {
         public static final LIRInstructionClass<UncompressPointer> TYPE = LIRInstructionClass.create(UncompressPointer.class);