| 
 | " 2013 FRC Java API" | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Compiler | |
|---|---|
| com.sun.squawk.compiler | |
| Uses of Compiler in com.sun.squawk.compiler | 
|---|
| Methods in com.sun.squawk.compiler that return Compiler | |
|---|---|
|  Compiler | BaseCompiler.add()Add the top two elements on the stack. | 
|  Compiler | InterpCompiler.alloca()Add a stack allocation node to the IR. | 
|  Compiler | BaseCompiler.and()And the top two elements on the stack. | 
|  Compiler | BaseCompiler.begin()Begin a code scope. | 
|  Compiler | BaseCompiler.bf(int dst)Branch to the label if the popped value is false. | 
|  Compiler | BaseCompiler.bf(Label label)Branch to the label if the popped value is false. | 
|  Compiler | BaseCompiler.bind(Label label)Bind a label to the current location. | 
|  Compiler | BaseCompiler.br(int dst)Unconditionally branch to the label. | 
|  Compiler | BaseCompiler.br(Label label)Unconditionally branch to the label. | 
|  Compiler | BaseCompiler.bt(int dst)Branch to the label if the popped value is true. | 
|  Compiler | BaseCompiler.bt(Label label)Branch to the label if the popped value is true. | 
|  Compiler | BaseCompiler.call(int nparms,
     Type type)Call a function. | 
|  Compiler | BaseCompiler.call(int nparms,
     Type type,
     int convention)Call a function. | 
|  Compiler | BaseCompiler.call(Type type)Call a function. | 
|  Compiler | BaseCompiler.call(Type type,
     int convention)Call a function. | 
|  Compiler | BaseCompiler.cmpg()Test the top two floating point elements. | 
|  Compiler | BaseCompiler.cmpl()Test the top two floating point elements. | 
|  Compiler | BaseCompiler.com()Produce the 1's complement of the top element. | 
|  Compiler | BaseCompiler.comment(String str)Add a comment node to the IR. | 
|  Compiler | BaseCompiler.compile()Compiler the IR. | 
|  Compiler | BaseCompiler.convert(Type to)Pop the top most element, convert it to a new type, and push the result. | 
|  Compiler | BaseCompiler.data(Label label,
     Object obj)Define some data. | 
|  Compiler | BaseCompiler.deadCode()Specify an unreachable place. | 
|  Compiler | BaseCompiler.div()Divide the top two elements on the stack. | 
|  Compiler | BaseCompiler.drop()Pop the top element of the compiler stack. | 
|  Compiler | BaseCompiler.dumpAll()Pop all the element of the compiler stack. | 
|  Compiler | BaseCompiler.dup()Dup the top element of the stack. | 
|  Compiler | BaseCompiler.dupReceiver()Dup the receiver element of the stack. | 
|  Compiler | BaseCompiler.end()End a code scope. | 
|  Compiler | BaseCompiler.enter()Emit a function prologue. | 
|  Compiler | BaseCompiler.enter(int preambleCode)Emit a function prologue. | 
|  Compiler | BaseCompiler.enter(Label label)Emit a function prologue. | 
|  Compiler | BaseCompiler.enter(Label label,
      int preambleCode)Emit a function prologue. | 
|  Compiler | BaseCompiler.eq()Test the top two elements. | 
|  Compiler | BaseCompiler.force(Type to)Pop the top most element, force it to be the new type, and push the result. | 
|  Compiler | InterpCompiler.framePointer()Push the frame pointer. | 
|  Compiler | BaseCompiler.ge()Test the top two elements. | 
|  Compiler | BaseCompiler.gt()Test the top two elements. | 
|  Compiler | BaseCompiler.jump()Jump somewhere. | 
|  Compiler | BaseCompiler.le()Test the top two elements. | 
|  Compiler | BaseCompiler.leave()Emit a function epilogue. | 
|  Compiler | BaseCompiler.leave(MethodMap mmap)Emit a function epilogue. | 
|  Compiler | BaseCompiler.literal(boolean n)Push a boolean constant onto the stack. | 
|  Compiler | BaseCompiler.literal(double n)Push a double constant onto the stack. | 
|  Compiler | BaseCompiler.literal(float n)Push a float constant onto the stack. | 
|  Compiler | BaseCompiler.literal(int n)Push an integer constant onto the stack. | 
|  Compiler | BaseCompiler.literal(Label label)Push the address of a label onto the stack. | 
|  Compiler | BaseCompiler.literal(long n)Push a long constant onto the stack. | 
|  Compiler | BaseCompiler.literal(Object array)Push an address of an array onto the stack. | 
|  Compiler | BaseCompiler.load(Local local)Get a local variable or parameter and push it onto the stack. | 
|  Compiler | BaseCompiler.loadParm()Get the value of a parameter word. | 
|  Compiler | BaseCompiler.lt()Test the top two elements. | 
|  Compiler | BaseCompiler.mul()Multiply the top two elements on the stack. | 
|  Compiler | BaseCompiler.ne()Test the top two elements. | 
|  Compiler | BaseCompiler.neg()Negate (2's complement) the top element. | 
| static Compiler | Compilation.newCompiler()Create a new default compiler by determining which architecture the VM is running on. | 
|  Compiler | TargetArchitecture.newCompiler() | 
| static Compiler | Compilation.newCompiler(String arch)Create a new compiler for a specific architecture. | 
|  Compiler | BaseCompiler.or()Or the top two elements on the stack. | 
|  Compiler | InterpCompiler.peekReceiver()Peek the receiver in the runtime stack. | 
|  Compiler | BaseCompiler.pop(Type type)Pop the top element of the runtime stack. | 
|  Compiler | BaseCompiler.popAll()Pop all the elements of the runtime stack. | 
|  Compiler | BaseCompiler.push()Push the data onto the runtime stack. | 
|  Compiler | BaseCompiler.read(Type type)Load a value from a reference. | 
|  Compiler | BaseCompiler.rem()Remainder the top two elements on the stack. | 
|  Compiler | BaseCompiler.result(Type type)Define the function result. | 
|  Compiler | BaseCompiler.ret()Return from a method. | 
|  Compiler | BaseCompiler.ret(Type type)Return from a method. | 
|  Compiler | BaseCompiler.shl()Shift the second element on the stack left by the number of bits specified by the top element. | 
|  Compiler | BaseCompiler.shr()Shift the second element on the stack right by the number of bits specified by the top element. | 
|  Compiler | InterpCompiler.stackCheck()Ensure that there is enough stack (the values are in bytes). | 
|  Compiler | BaseCompiler.store(Local local)Set a local variable or parameter to a value popped from the stack. | 
|  Compiler | InterpCompiler.store(Local local)Set a local variable or parameter to a value popped from the stack. | 
|  Compiler | BaseCompiler.storeParm()Set the value of a parameter word. | 
|  Compiler | BaseCompiler.sub()Subtract the top two elements on the stack. | 
|  Compiler | BaseCompiler.swap()Swap the top two elements of the stack. | 
|  Compiler | BaseCompiler.swapAll()Swap the contence of the stack. | 
|  Compiler | BaseCompiler.swapForABI()Swap the contence of the stack if the target ABI push parameters right-to-left. | 
|  Compiler | BaseCompiler.symbol(String name)Push an address of an unresolved symbol onto the stack. | 
|  Compiler | BaseCompiler.ushr()Shift the second element on the stack right by the number of bits specified by the top element. | 
|  Compiler | BaseCompiler.write(Type type)Store a value at a reference. | 
|  Compiler | InterpCompiler.write(Type type)Store a value at a reference. | 
|  Compiler | BaseCompiler.xor()Xor the top two elements on the stack. | 
| Methods in com.sun.squawk.compiler with parameters of type Compiler | |
|---|---|
|  Linker | TargetArchitecture.newLinker(Compiler compiler) | 
| 
 | " 2013 FRC Java API" | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||