Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/builtins/SLStackTraceBuiltin.java @ 15088:d3add9b82b71
change to StackIntrospection and Truffle getStackTrace implementation
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Mon, 14 Apr 2014 18:20:09 +0200 |
parents | f675818d9ad0 |
children | a1b0d7a1ef40 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/builtins/SLStackTraceBuiltin.java Mon Apr 14 15:38:19 2014 +0200 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/builtins/SLStackTraceBuiltin.java Mon Apr 14 18:20:09 2014 +0200 @@ -46,12 +46,12 @@ private static String createStackTrace() { StringBuilder str = new StringBuilder(); for (FrameInstance frame : Truffle.getRuntime().getStackTrace()) { - dumpFrame(str, frame.getCallNode().getRootNode(), frame.getFrame(FrameAccess.READ_ONLY, true), frame.isVirtualFrame()); + dumpFrame(str, frame.getCallTarget(), frame.getFrame(FrameAccess.READ_ONLY, true), frame.isVirtualFrame()); } return str.toString(); } - private static void dumpFrame(StringBuilder str, RootNode rootNode, Frame frame, boolean isVirtual) { + private static void dumpFrame(StringBuilder str, CallTarget rootNode, Frame frame, boolean isVirtual) { if (str.length() > 0) { str.append("\n"); }