diff graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiResolvedMethod.java @ 4528:e6e14d25e608

added two inlining policies for comparison
author Christian Haeubl <christian.haeubl@oracle.com>
date Tue, 07 Feb 2012 18:37:49 -0800
parents a0cca63cd366
children eb6df44a1374
line wrap: on
line diff
--- a/graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiResolvedMethod.java	Tue Feb 07 12:09:11 2012 -0800
+++ b/graal/com.oracle.max.cri/src/com/oracle/max/cri/ri/RiResolvedMethod.java	Tue Feb 07 18:37:49 2012 -0800
@@ -49,6 +49,12 @@
     int codeSize();
 
     /**
+     * Gets the size of the compiled machine code.
+     * @return the size of the compiled machine code in bytes, or 0 if no compiled code exists.
+     */
+    int compiledCodeSize();
+
+    /**
      * Gets the symbol used to link this method if it is native, otherwise {@code null}.
      */
     String jniSymbol();