Mercurial > hg > truffle
comparison graal/com.oracle.max.cri/src/com/oracle/max/cri/xir/CiXirAssembler.java @ 5330:678f31e9724e
added -G:+CheckcastCounters to profile the paths taken through a compiled checkcast
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 01 May 2012 10:53:56 +0200 |
parents | efbb1e33e2f3 |
children | d89b20486d87 |
comparison
equal
deleted
inserted
replaced
5329:7ceb3f3671b9 | 5330:678f31e9724e |
---|---|
869 | 869 |
870 public XirConstant i(int v) { | 870 public XirConstant i(int v) { |
871 return createConstant(CiConstant.forInt(v)); | 871 return createConstant(CiConstant.forInt(v)); |
872 } | 872 } |
873 | 873 |
874 public XirConstant l(int v) { | 874 public XirConstant l(long v) { |
875 return createConstant(CiConstant.forLong(v)); | 875 return createConstant(CiConstant.forLong(v)); |
876 } | 876 } |
877 | 877 |
878 public XirConstant b(boolean v) { | 878 public XirConstant b(boolean v) { |
879 return createConstant(CiConstant.forBoolean(v)); | 879 return createConstant(CiConstant.forBoolean(v)); |