Mercurial > hg > graal-compiler
changeset 6441:460def61c04b
Add a NodeIntrinsic factory method
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Tue, 25 Sep 2012 09:22:22 -0700 |
parents | a0193f6d855c |
children | 45f682f7fea8 |
files | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/RuntimeCallNode.java |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/RuntimeCallNode.java Tue Sep 25 09:21:52 2012 -0700 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/RuntimeCallNode.java Tue Sep 25 09:22:22 2012 -0700 @@ -76,4 +76,10 @@ public static long callLong(@ConstantNodeParameter RuntimeCall call) { throw new UnsupportedOperationException("This method may only be compiled with the Graal compiler"); } + + @SuppressWarnings("unused") + @NodeIntrinsic + public static void runtimeCall(@ConstantNodeParameter RuntimeCall call) { + throw new UnsupportedOperationException("This method may only be compiled with the Graal compiler"); + } }