Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/Invoke.java @ 2755:80b024e75b29
small fix for dead blocks
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 20 May 2011 14:50:04 +0200 |
parents | 3ac3dd97d8df |
children | 9bc0c2eb00d6 |
comparison
equal
deleted
inserted
replaced
2754:e91608c2daff | 2755:80b024e75b29 |
---|---|
72 @Override | 72 @Override |
73 public BlockBegin exceptionEdge() { | 73 public BlockBegin exceptionEdge() { |
74 return (BlockBegin) successors().get(super.successorCount() + SUCCESSOR_EXCEPTION_EDGE); | 74 return (BlockBegin) successors().get(super.successorCount() + SUCCESSOR_EXCEPTION_EDGE); |
75 } | 75 } |
76 | 76 |
77 public BlockBegin setExceptionEdge(BlockBegin n) { | 77 public Instruction setExceptionEdge(Instruction n) { |
78 return (BlockBegin) successors().set(super.successorCount() + SUCCESSOR_EXCEPTION_EDGE, n); | 78 return (Instruction) successors().set(super.successorCount() + SUCCESSOR_EXCEPTION_EDGE, n); |
79 } | 79 } |
80 | 80 |
81 public final int opcode; | 81 public final int opcode; |
82 public final RiMethod target; | 82 public final RiMethod target; |
83 public final RiType returnType; | 83 public final RiType returnType; |