comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotMethodUnresolved.java @ 2055:99ad52189524

Refactorings to get towards less CRI overhead.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Thu, 13 Jan 2011 17:45:17 +0100
parents 7e09ea4a8f36
children e5ba25730d9b
comparison
equal deleted inserted replaced
2054:3c0a889a176b 2055:99ad52189524
26 /** 26 /**
27 * Implementation of RiMethod for unresolved HotSpot methods. 27 * Implementation of RiMethod for unresolved HotSpot methods.
28 * 28 *
29 * @author Lukas Stadler 29 * @author Lukas Stadler
30 */ 30 */
31 public class HotSpotMethodUnresolved implements HotSpotMethod { 31 public final class HotSpotMethodUnresolved extends HotSpotMethod {
32 private final String name;
33 private final RiType holder;
34 private final RiSignature signature; 32 private final RiSignature signature;
35 33
36 public HotSpotMethodUnresolved(String name, String signature, RiType holder) { 34 public HotSpotMethodUnresolved(String name, String signature, RiType holder) {
37 this.name = name; 35 this.name = name;
38 this.holder = holder; 36 this.holder = holder;
39 this.signature = new HotSpotSignature(signature); 37 this.signature = new HotSpotSignature(signature);
40 }
41
42 @Override
43 public String name() {
44 return name;
45 }
46
47 @Override
48 public RiType holder() {
49 return holder;
50 } 38 }
51 39
52 @Override 40 @Override
53 public RiSignature signature() { 41 public RiSignature signature() {
54 return signature; 42 return signature;