Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/builtins/SLStackTraceBuiltin.java @ 15564:a3b0ecef8a15
Truffle: Provide default implementation on non-Graal VMs for stack trace functionality.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 08 May 2014 22:53:28 +0200 |
parents | a1b0d7a1ef40 |
children | abe7128ca473 f6ac86d3334e |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/builtins/SLStackTraceBuiltin.java Thu May 08 15:00:52 2014 +0200 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/builtins/SLStackTraceBuiltin.java Thu May 08 22:53:28 2014 +0200 @@ -55,11 +55,11 @@ return str.toString(); } - private static void dumpFrame(StringBuilder str, CallTarget rootNode, Frame frame, boolean isVirtual) { + private static void dumpFrame(StringBuilder str, CallTarget callTarget, Frame frame, boolean isVirtual) { if (str.length() > 0) { str.append("\n"); } - str.append("Frame: ").append(rootNode).append(isVirtual ? " (virtual)" : ""); + str.append("Frame: ").append(callTarget).append(isVirtual ? " (virtual)" : ""); FrameDescriptor frameDescriptor = frame.getFrameDescriptor(); for (FrameSlot s : frameDescriptor.getSlots()) { str.append(", ").append(s.getIdentifier()).append("=").append(frame.getValue(s));