Mercurial > hg > truffle
changeset 5856:a3e7b8320165
Fix compiler warning.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 05 Jul 2012 11:48:30 +0200 |
parents | 66ec0bc36a37 |
children | 7b7881766ed1 |
files | graal/com.oracle.graal.debug/src/com/oracle/graal/debug/internal/DebugScope.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.debug/src/com/oracle/graal/debug/internal/DebugScope.java Wed Jul 04 22:01:03 2012 +0200 +++ b/graal/com.oracle.graal.debug/src/com/oracle/graal/debug/internal/DebugScope.java Thu Jul 05 11:48:30 2012 +0200 @@ -230,13 +230,14 @@ } public Iterable<Object> getCurrentContext() { + final DebugScope scope = this; return new Iterable<Object>() { @Override public Iterator<Object> iterator() { return new Iterator<Object>() { - DebugScope currentScope = DebugScope.this; + DebugScope currentScope = scope; int objectIndex; @Override