Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/ExceptionObject.java @ 2546:e1b3db8031ee
Removed liveness marking.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 21:54:31 +0200 |
parents | 16b9a8b5ad39 |
children | 0c6564c254af |
comparison
equal
deleted
inserted
replaced
2545:bb050fe2901d | 2546:e1b3db8031ee |
---|---|
26 import com.sun.c1x.value.*; | 26 import com.sun.c1x.value.*; |
27 import com.sun.cri.ci.*; | 27 import com.sun.cri.ci.*; |
28 | 28 |
29 /** | 29 /** |
30 * The {@code ExceptionObject} instruction represents the incoming exception object to an exception handler. | 30 * The {@code ExceptionObject} instruction represents the incoming exception object to an exception handler. |
31 * | |
32 * @author Ben L. Titzer | |
33 */ | 31 */ |
34 public final class ExceptionObject extends Instruction { | 32 public final class ExceptionObject extends Instruction { |
35 | 33 |
36 /** | 34 /** |
37 * Debug info is required if safepoints are placed at exception handlers. | 35 * Debug info is required if safepoints are placed at exception handlers. |
43 * @param stateBefore TODO | 41 * @param stateBefore TODO |
44 */ | 42 */ |
45 public ExceptionObject(FrameState stateBefore) { | 43 public ExceptionObject(FrameState stateBefore) { |
46 super(CiKind.Object); | 44 super(CiKind.Object); |
47 setFlag(Flag.NonNull); | 45 setFlag(Flag.NonNull); |
48 setFlag(Flag.LiveSideEffect); | |
49 this.stateBefore = stateBefore; | 46 this.stateBefore = stateBefore; |
50 } | 47 } |
51 | 48 |
52 @Override | 49 @Override |
53 public FrameState stateBefore() { | 50 public FrameState stateBefore() { |