Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/ir/TypeCheck.java @ 2817:f9f40748442f
Made checkcast and instanceof floating.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Mon, 30 May 2011 15:34:30 +0200 |
parents | 91d3952f7eb7 |
children | c6bdec623ef9 |
comparison
equal
deleted
inserted
replaced
2816:5526d82388be | 2817:f9f40748442f |
---|---|
27 import com.sun.cri.ri.*; | 27 import com.sun.cri.ri.*; |
28 | 28 |
29 /** | 29 /** |
30 * The {@code TypeCheck} instruction is the base class of casts and instanceof tests. | 30 * The {@code TypeCheck} instruction is the base class of casts and instanceof tests. |
31 */ | 31 */ |
32 public abstract class TypeCheck extends Instruction { | 32 public abstract class TypeCheck extends Value { |
33 | 33 |
34 private static final int INPUT_COUNT = 2; | 34 private static final int INPUT_COUNT = 2; |
35 private static final int INPUT_OBJECT = 0; | 35 private static final int INPUT_OBJECT = 0; |
36 private static final int INPUT_TARGET_CLASS_INSTRUCTION = 1; | 36 private static final int INPUT_TARGET_CLASS_INSTRUCTION = 1; |
37 | 37 |