diff graal/com.oracle.graal.hotspot.amd64.test/src/com/oracle/graal/hotspot/amd64/test/DataPatchInConstantsTest.java @ 18188:8652481a1110

Introduce new Constant interface for use in high-level graph.
author Roland Schatz <roland.schatz@oracle.com>
date Thu, 30 Oct 2014 13:03:33 +0100
parents 9619ba4daf4c
children 0f4813e0b4a9
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot.amd64.test/src/com/oracle/graal/hotspot/amd64/test/DataPatchInConstantsTest.java	Thu Oct 30 12:21:07 2014 +0100
+++ b/graal/com.oracle.graal.hotspot.amd64.test/src/com/oracle/graal/hotspot/amd64/test/DataPatchInConstantsTest.java	Thu Oct 30 13:03:33 2014 +0100
@@ -182,11 +182,11 @@
 
     private static class LoadThroughPatchOp extends LIRInstructionBase {
 
-        final JavaConstant c;
+        final Constant c;
         final boolean compressed;
         @Def({REG}) AllocatableValue result;
 
-        LoadThroughPatchOp(JavaConstant c, boolean compressed, AllocatableValue result) {
+        LoadThroughPatchOp(Constant c, boolean compressed, AllocatableValue result) {
             this.c = c;
             this.compressed = compressed;
             this.result = result;