Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/VMErrorNode.java @ 6539:2463eb24b644
Cleanup of Graal API: Rename methods so that it follows the getXxx naming convention and so that they are similar to the names of the java.lang.reflect classes. Remove unused methods.
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Tue, 09 Oct 2012 15:23:38 -0700 |
parents | feb579677b58 |
children | 445193cc2a7d |
comparison
equal
deleted
inserted
replaced
6538:d1ba5ba4f484 | 6539:2463eb24b644 |
---|---|
58 } catch (Throwable t) { | 58 } catch (Throwable t) { |
59 // Report a less accurate location when debug info cannot be obtained | 59 // Report a less accurate location when debug info cannot be obtained |
60 where = "in compiled code for " + MetaUtil.format("%H.%n(%p)", gen.method()); | 60 where = "in compiled code for " + MetaUtil.format("%H.%n(%p)", gen.method()); |
61 } | 61 } |
62 | 62 |
63 RuntimeCall stub = gen.getRuntime().getRuntimeCall(VMErrorNode.VM_ERROR); | 63 RuntimeCall stub = gen.getRuntime().lookupRuntimeCall(VMErrorNode.VM_ERROR); |
64 gen.emitCall(stub, stub.getCallingConvention(), false, Constant.forObject(where), gen.operand(format), gen.operand(value)); | 64 gen.emitCall(stub, stub.getCallingConvention(), false, Constant.forObject(where), gen.operand(format), gen.operand(value)); |
65 } | 65 } |
66 | 66 |
67 @NodeIntrinsic | 67 @NodeIntrinsic |
68 public static native void vmError(String format, long value); | 68 public static native void vmError(String format, long value); |