Mercurial > hg > graal-jvmci-8
diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotTypePrimitive.java @ 2058:8f033d37798a
Better support for array types.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Tue, 18 Jan 2011 10:19:59 +0100 |
parents | 99ad52189524 |
children | f21664b3dd1c 569d3fe7d65c |
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotTypePrimitive.java Fri Jan 14 16:29:42 2011 +0100 +++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotTypePrimitive.java Tue Jan 18 10:19:59 2011 +0100 @@ -20,6 +20,7 @@ */ package com.sun.hotspot.c1x; +import com.sun.c1x.util.*; import com.sun.cri.ci.*; import com.sun.cri.ri.*; @@ -49,14 +50,12 @@ @Override public int accessFlags() { - // TODO Auto-generated method stub - return 0; + return javaClass().getModifiers(); } @Override public RiType arrayOf() { - // TODO Auto-generated method stub - return null; + return Compiler.getVMEntries().getPrimitiveArrayType(kind); } @Override @@ -71,9 +70,7 @@ @Override public CiConstant getEncoding(Representation r) { - // TODO Auto-generated method stub - - return null; + throw Util.unimplemented("HotSpotTypePrimitive.getEncoding"); } @Override