Mercurial > hg > graal-compiler
changeset 9558:1e171a158660
linked documentation about the exception handler stub calling convention with the x64 interpreter source
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 03 May 2013 14:59:18 +0200 |
parents | 63b4cea1ed3f |
children | b4e7de9a13b1 |
files | graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotRuntime.java |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotRuntime.java Fri May 03 14:04:18 2013 +0200 +++ b/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/AMD64HotSpotRuntime.java Fri May 03 14:59:18 2013 +0200 @@ -55,6 +55,10 @@ Kind word = graalRuntime.getTarget().wordKind; // @formatter:off + + // The calling convention for the exception handler stub is (only?) defined in + // TemplateInterpreterGenerator::generate_throw_exception() + // in templateInterpreter_x86_64.cpp around line 1923 addStubCall(EXCEPTION_HANDLER, /* ret */ ret(Kind.Void), /* arg0: exception */ rax.asValue(Kind.Object),