Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/ir/BlockEnd.java @ 2661:194d93d089bd
Towards clean up of canTrap().
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 11 May 2011 17:18:31 +0200 |
parents | 8e44074058af |
children | 6ab73784566a |
comparison
equal
deleted
inserted
replaced
2660:9f557e940180 | 2661:194d93d089bd |
---|---|
167 | 167 |
168 /** | 168 /** |
169 * Gets this block end's list of successors. | 169 * Gets this block end's list of successors. |
170 * @return the successor list | 170 * @return the successor list |
171 */ | 171 */ |
172 @SuppressWarnings("unchecked") | |
172 public List<BlockBegin> blockSuccessors() { | 173 public List<BlockBegin> blockSuccessors() { |
173 List<BlockBegin> list = (List) successors().subList(super.successorCount() + SUCCESSOR_COUNT, super.successorCount() + blockSuccessorCount + SUCCESSOR_COUNT); | 174 List<BlockBegin> list = (List) successors().subList(super.successorCount() + SUCCESSOR_COUNT, super.successorCount() + blockSuccessorCount + SUCCESSOR_COUNT); |
174 return Collections.unmodifiableList(list); | 175 return Collections.unmodifiableList(list); |
175 } | 176 } |
176 | 177 |