Mercurial > hg > graal-jvmci-8
comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotTypePrimitive.java @ 1416:1b41af477605
Added HotSpotVM project Java source files.
author | Thomas Wuerthinger <thomas.wuerthinger@gmail.com> |
---|---|
date | Wed, 23 Jun 2010 16:36:58 +0200 |
parents | |
children | 44efca8a02d6 |
comparison
equal
deleted
inserted
replaced
1415:712c7ff1afc1 | 1416:1b41af477605 |
---|---|
1 package com.sun.hotspot.c1x; | |
2 | |
3 import com.sun.cri.ci.CiConstant; | |
4 import com.sun.cri.ci.CiKind; | |
5 import com.sun.cri.ri.RiMethod; | |
6 import com.sun.cri.ri.RiType; | |
7 | |
8 public class HotSpotTypePrimitive implements RiType { | |
9 | |
10 private CiKind kind; | |
11 | |
12 public HotSpotTypePrimitive(CiKind kind) { | |
13 this.kind = kind; | |
14 } | |
15 | |
16 @Override | |
17 public int accessFlags() { | |
18 // TODO Auto-generated method stub | |
19 return 0; | |
20 } | |
21 | |
22 @Override | |
23 public RiType arrayOf() { | |
24 // TODO Auto-generated method stub | |
25 return null; | |
26 } | |
27 | |
28 @Override | |
29 public RiType componentType() { | |
30 // TODO Auto-generated method stub | |
31 return null; | |
32 } | |
33 | |
34 @Override | |
35 public RiType exactType() { | |
36 // TODO Auto-generated method stub | |
37 return null; | |
38 } | |
39 | |
40 @Override | |
41 public CiConstant getEncoding(Representation r) { | |
42 // TODO Auto-generated method stub | |
43 | |
44 return null; | |
45 } | |
46 | |
47 @Override | |
48 public CiKind getRepresentationKind(Representation r) { | |
49 // TODO Auto-generated method stub | |
50 return null; | |
51 } | |
52 | |
53 @Override | |
54 public boolean hasFinalizableSubclass() { | |
55 // TODO Auto-generated method stub | |
56 return false; | |
57 } | |
58 | |
59 @Override | |
60 public boolean hasFinalizer() { | |
61 // TODO Auto-generated method stub | |
62 return false; | |
63 } | |
64 | |
65 @Override | |
66 public boolean hasSubclass() { | |
67 // TODO Auto-generated method stub | |
68 return false; | |
69 } | |
70 | |
71 @Override | |
72 public boolean isArrayClass() { | |
73 // TODO Auto-generated method stub | |
74 return false; | |
75 } | |
76 | |
77 @Override | |
78 public boolean isInitialized() { | |
79 // TODO Auto-generated method stub | |
80 return false; | |
81 } | |
82 | |
83 @Override | |
84 public boolean isInstance(Object obj) { | |
85 // TODO Auto-generated method stub | |
86 return false; | |
87 } | |
88 | |
89 @Override | |
90 public boolean isInstanceClass() { | |
91 // TODO Auto-generated method stub | |
92 return false; | |
93 } | |
94 | |
95 @Override | |
96 public boolean isInterface() { | |
97 // TODO Auto-generated method stub | |
98 return false; | |
99 } | |
100 | |
101 @Override | |
102 public boolean isResolved() { | |
103 // TODO Auto-generated method stub | |
104 return true; | |
105 } | |
106 | |
107 @Override | |
108 public boolean isSubtypeOf(RiType other) { | |
109 // TODO Auto-generated method stub | |
110 return false; | |
111 } | |
112 | |
113 @Override | |
114 public Class<?> javaClass() { | |
115 return kind.toJavaClass(); | |
116 } | |
117 | |
118 @Override | |
119 public CiKind kind() { | |
120 return kind; | |
121 } | |
122 | |
123 @Override | |
124 public String name() { | |
125 return kind.toString(); | |
126 } | |
127 | |
128 @Override | |
129 public RiMethod resolveMethodImpl(RiMethod method) { | |
130 return null; | |
131 } | |
132 | |
133 } |