diff graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/CodeCacheProvider.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
line wrap: on
line diff
--- a/graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/CodeCacheProvider.java	Thu Oct 30 12:21:07 2014 +0100
+++ b/graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/CodeCacheProvider.java	Thu Oct 30 13:03:33 2014 +0100
@@ -85,10 +85,9 @@
     boolean needsDataPatch(JavaConstant constant);
 
     /**
-     * Create a {@link Data} item for a {@link JavaConstant}, that can be used in a
-     * {@link DataPatch}.
+     * Create a {@link Data} item for a {@link Constant}, that can be used in a {@link DataPatch}.
      */
-    Data createDataItem(JavaConstant constant);
+    Data createDataItem(Constant constant);
 
     /**
      * Gets a description of the target architecture.