|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.compilers.opt.specialization.SpecializedMethod
public final class SpecializedMethod
This is the top-level class to support specialized versions of Java methods
| Field Summary | |
|---|---|
(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 Summary | |
|---|---|
SpecializedMethod(NormalMethod source,
SpecializationContext context)
constructor for OPT compiler. |
|
| Method Summary | |
|---|---|
(package private) void |
compile()
generate the specialized code for this method |
CompiledMethod |
getCompiledMethod()
|
NormalMethod |
getMethod()
|
SpecializationContext |
getSpecializationContext()
|
int |
getSpecializedMethodIndex()
|
void |
setCompiledMethod(CompiledMethod cm)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
final NormalMethod method
CompiledMethod compiledMethod
final int smid
final SpecializationContext context
| Constructor Detail |
|---|
SpecializedMethod(NormalMethod source,
SpecializationContext context)
| Method Detail |
|---|
void compile()
public NormalMethod getMethod()
public SpecializationContext getSpecializationContext()
public CompiledMethod getCompiledMethod()
public void setCompiledMethod(CompiledMethod cm)
public int getSpecializedMethodIndex()
public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||