Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/asm/TargetMethodAssembler.java @ 2833:1cd59ca9ac86
Removed Throw HIR instruction. Removed special handling for exceptions in register allocator.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Tue, 31 May 2011 13:30:23 +0200 |
parents | c1ce2a53d6c3 |
children |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/asm/TargetMethodAssembler.java Tue May 31 11:50:19 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/asm/TargetMethodAssembler.java Tue May 31 13:30:23 2011 +0200 @@ -140,11 +140,11 @@ public void recordExceptionHandlers(int pcOffset, LIRDebugInfo info) { if (info != null) { - if (info.exceptionEdge != null) { + if (info.exceptionEdge() != null) { if (exceptionInfoList == null) { exceptionInfoList = new ArrayList<ExceptionInfo>(4); } - exceptionInfoList.add(new ExceptionInfo(pcOffset, info.exceptionEdge, info.state.bci)); + exceptionInfoList.add(new ExceptionInfo(pcOffset, info.exceptionEdge(), info.state.bci)); } } } @@ -155,7 +155,7 @@ assert lastSafepointPos < pcOffset; lastSafepointPos = pcOffset; targetMethod.recordSafepoint(pcOffset, info.debugInfo()); - recordExceptionHandlers(pcOffset, info); + assert info.exceptionEdge() == null; } }