Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/Throw.java @ 2715:3ac3dd97d8df
Added ExceptionEdgeInstruction interface.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Thu, 19 May 2011 13:21:31 +0200 |
parents | a0dd2b907806 |
children | ca31e84ff154 |
comparison
equal
deleted
inserted
replaced
2714:e235eb9e7b54 | 2715:3ac3dd97d8df |
---|---|
28 import com.sun.cri.ci.*; | 28 import com.sun.cri.ci.*; |
29 | 29 |
30 /** | 30 /** |
31 * The {@code Throw} instruction represents a throw of an exception. | 31 * The {@code Throw} instruction represents a throw of an exception. |
32 */ | 32 */ |
33 public final class Throw extends BlockEnd { | 33 public final class Throw extends BlockEnd implements ExceptionEdgeInstruction { |
34 | 34 |
35 private static final int INPUT_COUNT = 2; | 35 private static final int INPUT_COUNT = 2; |
36 private static final int INPUT_EXCEPTION = 0; | 36 private static final int INPUT_EXCEPTION = 0; |
37 private static final int INPUT_STATE_BEFORE = 1; | 37 private static final int INPUT_STATE_BEFORE = 1; |
38 | 38 |