Mercurial > hg > truffle
comparison graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java @ 18923:837d2b18a171
No need to clean up deleted phis.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 22 Jan 2015 16:25:04 +0100 |
parents | fede93375dcb |
children | 14599c77560a |
comparison
equal
deleted
inserted
replaced
18922:fede93375dcb | 18923:837d2b18a171 |
---|---|
1148 lastInstr = block.firstInstruction; | 1148 lastInstr = block.firstInstruction; |
1149 frameState = (HIRFrameStateBuilder) block.entryState; | 1149 frameState = (HIRFrameStateBuilder) block.entryState; |
1150 parser.setCurrentFrameState(frameState); | 1150 parser.setCurrentFrameState(frameState); |
1151 currentBlock = block; | 1151 currentBlock = block; |
1152 | 1152 |
1153 frameState.cleanupDeletedPhis(); | |
1154 if (lastInstr instanceof MergeNode) { | 1153 if (lastInstr instanceof MergeNode) { |
1155 int bci = block.startBci; | 1154 int bci = block.startBci; |
1156 if (block instanceof ExceptionDispatchBlock) { | 1155 if (block instanceof ExceptionDispatchBlock) { |
1157 bci = ((ExceptionDispatchBlock) block).deoptBci; | 1156 bci = ((ExceptionDispatchBlock) block).deoptBci; |
1158 } | 1157 } |