Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java @ 2700:d06cff53b77e
More cleanup.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 18 May 2011 16:09:31 +0200 |
parents | 785e9ecdcc69 |
children | 42450f536d24 |
comparison
equal
deleted
inserted
replaced
2697:bd4c3be86fb7 | 2700:d06cff53b77e |
---|---|
204 | 204 |
205 // 4A.3 setup an exception handler to unlock the root method synchronized object | 205 // 4A.3 setup an exception handler to unlock the root method synchronized object |
206 syncHandler = new BlockBegin(Instruction.SYNCHRONIZATION_ENTRY_BCI, ir.nextBlockNumber(), graph); | 206 syncHandler = new BlockBegin(Instruction.SYNCHRONIZATION_ENTRY_BCI, ir.nextBlockNumber(), graph); |
207 syncHandler.setExceptionEntry(); | 207 syncHandler.setExceptionEntry(); |
208 syncHandler.setBlockFlag(BlockBegin.BlockFlag.IsOnWorkList); | 208 syncHandler.setBlockFlag(BlockBegin.BlockFlag.IsOnWorkList); |
209 syncHandler.setBlockFlag(BlockBegin.BlockFlag.DefaultExceptionHandler); | |
210 | 209 |
211 ExceptionHandler h = new ExceptionHandler(new CiExceptionHandler(0, rootMethod.code().length, -1, 0, null)); | 210 ExceptionHandler h = new ExceptionHandler(new CiExceptionHandler(0, rootMethod.code().length, -1, 0, null)); |
212 h.setEntryBlock(syncHandler); | 211 h.setEntryBlock(syncHandler); |
213 addExceptionHandler(h); | 212 addExceptionHandler(h); |
214 } else { | 213 } else { |