Mercurial > hg > truffle
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/GetClassNode.java @ 21678:7355942cb270
Improve lowering of the type check node.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 03 Jun 2015 01:10:18 +0200 |
parents | 48c1ebd24120 |
children |
comparison
equal
deleted
inserted
replaced
21670:5731adc3a10a | 21678:7355942cb270 |
---|---|
46 } | 46 } |
47 | 47 |
48 public GetClassNode(Stamp stamp, ValueNode object) { | 48 public GetClassNode(Stamp stamp, ValueNode object) { |
49 super(TYPE, stamp); | 49 super(TYPE, stamp); |
50 this.object = object; | 50 this.object = object; |
51 assert ((ObjectStamp) object.stamp()).nonNull(); | |
51 } | 52 } |
52 | 53 |
53 @Override | 54 @Override |
54 public void lower(LoweringTool tool) { | 55 public void lower(LoweringTool tool) { |
55 tool.getLowerer().lower(this, tool); | 56 tool.getLowerer().lower(this, tool); |