comparison graal/GraalCompiler/src/com/sun/c1x/ir/InstanceOf.java @ 2622:91d3952f7eb7

Framestate work : using stateAFter and reducting the number of nodes with framestates. Intermediate state (does not pass tests)
author Gilles Duboscq <gilles.duboscq@oracle.com>
date Tue, 10 May 2011 12:37:46 +0200
parents f1bc67c2d453
children c3f64b66fc78
comparison
equal deleted inserted replaced
2621:dd115f80acf8 2622:91d3952f7eb7
23 package com.sun.c1x.ir; 23 package com.sun.c1x.ir;
24 24
25 import com.oracle.graal.graph.*; 25 import com.oracle.graal.graph.*;
26 import com.sun.c1x.debug.*; 26 import com.sun.c1x.debug.*;
27 import com.sun.c1x.util.*; 27 import com.sun.c1x.util.*;
28 import com.sun.c1x.value.*;
29 import com.sun.cri.bytecode.*; 28 import com.sun.cri.bytecode.*;
30 import com.sun.cri.ci.*; 29 import com.sun.cri.ci.*;
31 import com.sun.cri.ri.*; 30 import com.sun.cri.ri.*;
32 31
33 /** 32 /**
43 * @param targetClass the target class of the instanceof check 42 * @param targetClass the target class of the instanceof check
44 * @param object the instruction producing the object input to this instruction 43 * @param object the instruction producing the object input to this instruction
45 * @param stateBefore the state before this instruction 44 * @param stateBefore the state before this instruction
46 * @param graph 45 * @param graph
47 */ 46 */
48 public InstanceOf(RiType targetClass, Value targetClassInstruction, Value object, FrameState stateBefore, Graph graph) { 47 public InstanceOf(RiType targetClass, Value targetClassInstruction, Value object, Graph graph) {
49 super(targetClass, targetClassInstruction, object, CiKind.Int, stateBefore, INPUT_COUNT, SUCCESSOR_COUNT, graph); 48 super(targetClass, targetClassInstruction, object, CiKind.Int, INPUT_COUNT, SUCCESSOR_COUNT, graph);
50 } 49 }
51 50
52 @Override 51 @Override
53 public void accept(ValueVisitor v) { 52 public void accept(ValueVisitor v) {
54 v.visitInstanceOf(this); 53 v.visitInstanceOf(this);