public class DefaultLIRKindTool extends Object implements LIRKindTool
LIRKindTool
. Returns the normal Java kind for primitive types.
Subclasses still have to implement getObjectKind()
.Modifier and Type | Field and Description |
---|---|
private PlatformKind |
wordKind |
Constructor and Description |
---|
DefaultLIRKindTool(PlatformKind wordKind) |
Modifier and Type | Method and Description |
---|---|
LIRKind |
getFloatingKind(int bits) |
LIRKind |
getIntegerKind(int bits) |
LIRKind |
getObjectKind() |
LIRKind |
getWordKind() |
private final PlatformKind wordKind
public DefaultLIRKindTool(PlatformKind wordKind)
public LIRKind getIntegerKind(int bits)
getIntegerKind
in interface LIRKindTool
public LIRKind getFloatingKind(int bits)
getFloatingKind
in interface LIRKindTool
public LIRKind getObjectKind()
getObjectKind
in interface LIRKindTool
public LIRKind getWordKind()
getWordKind
in interface LIRKindTool