Mercurial > hg > graal-jvmci-8
comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/server/CompilationServer.java @ 1468:e4cd5d2de7e1
Changes to sync with CRI changes.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 19 Nov 2010 00:26:51 +0100 |
parents | 9196a2b32950 |
children | 52bb06250d35 |
comparison
equal
deleted
inserted
replaced
1467:c0de7306803c | 1468:e4cd5d2de7e1 |
---|---|
103 if (obj instanceof Container) { | 103 if (obj instanceof Container) { |
104 Container c = (Container) obj; | 104 Container c = (Container) obj; |
105 if (c.clazz == CiConstant.class) { | 105 if (c.clazz == CiConstant.class) { |
106 return CiConstant.forBoxed((CiKind) c.values[0], c.values[1]); | 106 return CiConstant.forBoxed((CiKind) c.values[0], c.values[1]); |
107 } else if (c.clazz == CiDebugInfo.class) { | 107 } else if (c.clazz == CiDebugInfo.class) { |
108 return new CiDebugInfo((CiCodePos) c.values[0], (byte[]) c.values[2], (byte[]) c.values[3]); | 108 return new CiDebugInfo((CiCodePos) c.values[0], (Long) c.values[2], (CiBitMap) c.values[3]); |
109 } else if (c.clazz == CiCodePos.class) { | 109 } else if (c.clazz == CiCodePos.class) { |
110 return new CiCodePos((CiCodePos) c.values[0], (RiMethod) c.values[1], (Integer) c.values[2]); | 110 return new CiCodePos((CiCodePos) c.values[0], (RiMethod) c.values[1], (Integer) c.values[2]); |
111 } | 111 } |
112 throw new RuntimeException("unexpected container class"); | 112 throw new RuntimeException("unexpected container class"); |
113 } | 113 } |