Mercurial > hg > graal-compiler
changeset 13550:e64bc2149396
small parameter renaming in HotSpotDebugInfoBuilder
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 08 Jan 2014 14:50:05 +0100 |
parents | f8e8f3c499c1 |
children | ba72961e0d41 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotDebugInfoBuilder.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotDebugInfoBuilder.java Wed Jan 08 14:49:32 2014 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotDebugInfoBuilder.java Wed Jan 08 14:50:05 2014 +0100 @@ -48,13 +48,13 @@ } @Override - protected Value computeLockValue(FrameState state, int i) { - int lockDepth = i; + protected Value computeLockValue(FrameState state, int lockIndex) { + int lockDepth = lockIndex; if (state.outerFrameState() != null) { lockDepth += state.outerFrameState().nestedLockDepth(); } StackSlot slot = lockStack.makeLockSlot(lockDepth); - ValueNode lock = state.lockAt(i); + ValueNode lock = state.lockAt(lockIndex); Value object = toValue(lock); boolean eliminated = lock instanceof VirtualObjectNode; return new HotSpotMonitorValue(object, slot, eliminated);