Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.max.cri/src/com/oracle/max/cri/ci/CiValueUtil.java @ 5501:d89b20486d87
Renaming CiConstant => RiConstant.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 07 Jun 2012 17:07:05 +0200 |
parents | df5547057954 |
children | 13aee5aba8cc |
comparison
equal
deleted
inserted
replaced
5500:d2f2dede7c1a | 5501:d89b20486d87 |
---|---|
42 return (CiVirtualObject) value; | 42 return (CiVirtualObject) value; |
43 } | 43 } |
44 | 44 |
45 public static boolean isConstant(CiValue value) { | 45 public static boolean isConstant(CiValue value) { |
46 assert value != null; | 46 assert value != null; |
47 return value instanceof CiConstant; | 47 return value instanceof RiConstant; |
48 } | 48 } |
49 | 49 |
50 public static CiConstant asConstant(CiValue value) { | 50 public static RiConstant asConstant(CiValue value) { |
51 assert value != null; | 51 assert value != null; |
52 return (CiConstant) value; | 52 return (RiConstant) value; |
53 } | 53 } |
54 | 54 |
55 | 55 |
56 public static boolean isStackSlot(CiValue value) { | 56 public static boolean isStackSlot(CiValue value) { |
57 assert value != null; | 57 assert value != null; |