Mercurial > hg > graal-compiler
view graal/com.oracle.truffle.sl.test/tests/HelloEqualsWorld.sl @ 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 | 6133189d8eea |
line wrap: on
line source
function doIt(a) { println("Initial stack trace:"); println(stacktrace()); hello = 123; println("After 123 assignment:"); println(stacktrace()); helloEqualsWorld(); println("After hello assignment:"); println(stacktrace()); // readln(); } function main() { i = 0; while (i < 10) { doIt(i); i = i + 1; } }