public final class SpecializedMethod extends Object
Modifier and Type | Field and Description |
---|---|
(package private) CompiledMethod |
compiledMethod
Corresponding compiled method
|
(package private) SpecializationContext |
context
Encodes the rules for generating the specialized code.
|
(package private) NormalMethod |
method
The method that was specialized
|
(package private) int |
smid
Specialized Method index into the SpecializedMethods table
|
Constructor and Description |
---|
SpecializedMethod(NormalMethod source,
SpecializationContext context) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
compile()
Generates the specialized code for this method.
|
CompiledMethod |
getCompiledMethod() |
NormalMethod |
getMethod() |
SpecializationContext |
getSpecializationContext() |
int |
getSpecializedMethodIndex() |
void |
setCompiledMethod(CompiledMethod cm) |
String |
toString() |
final NormalMethod method
CompiledMethod compiledMethod
final int smid
final SpecializationContext context
SpecializedMethod(NormalMethod source, SpecializationContext context)
void compile()
public NormalMethod getMethod()
public SpecializationContext getSpecializationContext()
public CompiledMethod getCompiledMethod()
public void setCompiledMethod(CompiledMethod cm)
public int getSpecializedMethodIndex()