diff graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotResolvedJavaMethodImpl.java @ 18829:40df42df39e0

Can be inlined must also return true for native methods that are intrinsified.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sun, 11 Jan 2015 21:06:25 +0100
parents 5a21cac1968f
children 7f4cb7587f4c
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotResolvedJavaMethodImpl.java	Sun Jan 11 21:04:56 2015 +0100
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotResolvedJavaMethodImpl.java	Sun Jan 11 21:06:25 2015 +0100
@@ -547,7 +547,7 @@
         if (isDontInline()) {
             return false;
         }
-        return this.hasBytecodes() && runtime().getCompilerToVM().canInlineMethod(metaspaceMethod);
+        return runtime().getCompilerToVM().canInlineMethod(metaspaceMethod);
     }
 
     @Override