Mercurial > hg > graal-jvmci-8
comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotSignature.java @ 1421:6223633ce7dd
changed VMExit/VMEntries to non-static, added eclipse c++ project, CIR interface changes
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Fri, 23 Jul 2010 15:53:02 -0700 |
parents | 44efca8a02d6 |
children | 3483ec571caf |
comparison
equal
deleted
inserted
replaced
1420:44efca8a02d6 | 1421:6223633ce7dd |
---|---|
97 System.out.println("argument type at " + index); | 97 System.out.println("argument type at " + index); |
98 Object accessor = null; | 98 Object accessor = null; |
99 if (accessingClass instanceof HotSpotType) { | 99 if (accessingClass instanceof HotSpotType) { |
100 accessor = ((HotSpotType) accessingClass).klassOop; | 100 accessor = ((HotSpotType) accessingClass).klassOop; |
101 } | 101 } |
102 return VMEntries.RiSignature_lookupType(arguments.get(index), accessor); | 102 return Compiler.getVMEntries().RiSignature_lookupType(arguments.get(index), accessor); |
103 } | 103 } |
104 | 104 |
105 @Override | 105 @Override |
106 public String asString() { | 106 public String asString() { |
107 return originalString; | 107 return originalString; |
112 return CiKind.fromTypeString(returnType); | 112 return CiKind.fromTypeString(returnType); |
113 } | 113 } |
114 | 114 |
115 @Override | 115 @Override |
116 public RiType returnType(RiType accessingClass) { | 116 public RiType returnType(RiType accessingClass) { |
117 return VMEntries.RiSignature_lookupType(returnType, accessingClass); | 117 return Compiler.getVMEntries().RiSignature_lookupType(returnType, accessingClass); |
118 } | 118 } |
119 | 119 |
120 } | 120 } |