Mercurial > hg > truffle
diff graal/com.oracle.max.criutils/src/com/oracle/max/criutils/CompilationPrinter.java @ 5552:69a8969dbf40
Reduce public fields in api.code project.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 09 Jun 2012 21:50:02 +0200 |
parents | b6617d13ea44 |
children | 4d7175cf3526 |
line wrap: on
line diff
--- a/graal/com.oracle.max.criutils/src/com/oracle/max/criutils/CompilationPrinter.java Sat Jun 09 20:40:54 2012 +0200 +++ b/graal/com.oracle.max.criutils/src/com/oracle/max/criutils/CompilationPrinter.java Sat Jun 09 21:50:02 2012 +0200 @@ -129,7 +129,7 @@ BytecodePosition curCodePos = codePos; List<VirtualObject> virtualObjects = new ArrayList<>(); do { - sb.append(CodeUtil.toLocation(curCodePos.method, curCodePos.bci)); + sb.append(CodeUtil.toLocation(curCodePos.getMethod(), curCodePos.getBCI())); sb.append('\n'); if (curCodePos instanceof BytecodeFrame) { BytecodeFrame frame = (BytecodeFrame) curCodePos; @@ -154,7 +154,7 @@ } } - curCodePos = curCodePos.caller; + curCodePos = curCodePos.getCaller(); } while (curCodePos != null); for (int i = 0; i < virtualObjects.size(); i++) {