Mercurial > hg > graal-compiler
view graal/com.oracle.truffle.sl.test/tests/HelloEqualsWorld.sl @ 15162:dbb1fe8348e6
Allow to supply predefined installed code object when adding a method to the code cache.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 15 Apr 2014 15:22:37 +0200 |
parents | 6133189d8eea |
children | 25a18b4a5b90 |
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; } }