|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.IR.Jasmin.Jasmin
public class Jasmin
Jasmin
converts from QuadWithTry to bytecode
formatted for the Jasmin assembler.
Note: Requires patch on 1.06 to do sane things with
fields.
Constructor Summary | |
---|---|
Jasmin(HCode[] hc,
HMethod[] hm,
HClass hclass)
Creates a Jasmin object. |
|
Jasmin(HCode[] hc,
HMethod[] hm,
HClass hclass,
int andmask,
int ormask)
Creates a Jasmin object. |
Method Summary | |
---|---|
Object[] |
buildmap(HCode code,
TypeMap tp)
buildmap takes in a HCode and a TypeMap
and returns a Map and number of local variables used. |
void |
outputClass(PrintStream out)
Takes in a PrintStream 'out' and dumps
Jasmin formatted assembly code to it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Jasmin(HCode[] hc, HMethod[] hm, HClass hclass)
Jasmin
object.
public Jasmin(HCode[] hc, HMethod[] hm, HClass hclass, int andmask, int ormask)
Jasmin
object.
Method Detail |
---|
public void outputClass(PrintStream out)
PrintStream
'out' and dumps
Jasmin formatted assembly code to it.
public final Object[] buildmap(HCode code, TypeMap tp)
buildmap
takes in a HCode
and a TypeMap
and returns a Map and number of local variables used.
Buildmap maps each temp either to the stack or to a localvariable.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |