Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/lir/LIRAssembler.java @ 2703:42450f536d24
More cleanup towards separation of graphbuilding<>graph<>lirgeneration
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 18 May 2011 17:04:47 +0200 |
parents | bd4c3be86fb7 |
children | 4272b7af2d17 |
comparison
equal
deleted
inserted
replaced
2702:618f545fcac5 | 2703:42450f536d24 |
---|---|
136 | 136 |
137 assert checkNoUnboundLabels(); | 137 assert checkNoUnboundLabels(); |
138 } | 138 } |
139 | 139 |
140 void emitBlock(BlockBegin block) { | 140 void emitBlock(BlockBegin block) { |
141 if (block.checkBlockFlag(BlockBegin.BlockFlag.BackwardBranchTarget)) { | |
142 emitAlignment(); | |
143 } | |
144 | |
145 // if this block is the start of an exception handler, record the | 141 // if this block is the start of an exception handler, record the |
146 // PC offset of the first instruction for later construction of | 142 // PC offset of the first instruction for later construction of |
147 // the ExceptionHandlerTable | 143 // the ExceptionHandlerTable |
148 if (block.checkBlockFlag(BlockBegin.BlockFlag.ExceptionEntry)) { | 144 if (block.checkBlockFlag(BlockBegin.BlockFlag.ExceptionEntry)) { |
149 block.setExceptionHandlerPco(codePos()); | 145 block.setExceptionHandlerPco(codePos()); |