Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/ir/ExceptionObject.java @ 2602:0c6564c254af
new node layout: BlockBegin, BlockEnd
-Dc1x.dot=regex for pdf output
escape dot graph labels (<, >, &)
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 06 May 2011 10:25:37 +0200 |
parents | e1b3db8031ee |
children | 91d3952f7eb7 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/ExceptionObject.java Thu May 05 16:33:12 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/ExceptionObject.java Fri May 06 10:25:37 2011 +0200 @@ -22,6 +22,7 @@ */ package com.sun.c1x.ir; +import com.oracle.graal.graph.*; import com.sun.c1x.debug.*; import com.sun.c1x.value.*; import com.sun.cri.ci.*; @@ -31,6 +32,9 @@ */ public final class ExceptionObject extends Instruction { + private static final int INPUT_COUNT = 0; + private static final int SUCCESSOR_COUNT = 0; + /** * Debug info is required if safepoints are placed at exception handlers. */ @@ -39,9 +43,10 @@ /** * Constructs a new ExceptionObject instruction. * @param stateBefore TODO + * @param graph */ - public ExceptionObject(FrameState stateBefore) { - super(CiKind.Object); + public ExceptionObject(FrameState stateBefore, Graph graph) { + super(CiKind.Object, INPUT_COUNT, SUCCESSOR_COUNT, graph); setFlag(Flag.NonNull); this.stateBefore = stateBefore; }