| Package | Description |
|---|---|
| org.classdump.luna.compiler.gen |
Core classes for Java bytecode generation.
|
| org.classdump.luna.compiler.ir |
The intermediate representation (IR) of Lua programs used by the compiler.
|
| org.classdump.luna.compiler.util |
Compiler utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
Label |
SegmentedCode.LabelEntry.label |
| Modifier and Type | Method and Description |
|---|---|
SegmentedCode.LabelEntry |
SegmentedCode.labelEntry(Label l) |
| Constructor and Description |
|---|
LabelEntry(Label label,
int segmentIdx,
int idx) |
| Modifier and Type | Method and Description |
|---|---|
Label |
Code.entryLabel() |
Label |
JmpNode.jmpDest() |
Label |
Jmp.jmpDest() |
Label |
Branch.jmpDest() |
Label |
ToNext.label() |
Label |
BasicBlock.label() |
Label |
CodeBuilder.newLabel() |
Label |
Branch.next() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Label> |
Code.labels() |
Iterable<Label> |
ToNext.nextLabels() |
Iterable<Label> |
TCall.nextLabels() |
Iterable<Label> |
Ret.nextLabels() |
Iterable<Label> |
Jmp.nextLabels() |
Iterable<Label> |
Branch.nextLabels() |
abstract Iterable<Label> |
BlockTermNode.nextLabels() |
| Modifier and Type | Method and Description |
|---|---|
void |
CodeBuilder.add(Label label) |
void |
CodeBuilder.addBranch(Branch.Condition cond,
Label dest) |
BasicBlock |
Code.block(Label label) |
void |
IRVisitor.visit(Label node) |
| Constructor and Description |
|---|
BasicBlock(Label label,
List<BodyNode> body,
BlockTermNode end) |
Branch(Branch.Condition condition,
Label branch,
Label next) |
Jmp(Label jmpDest) |
ToNext(Label label) |
| Modifier and Type | Method and Description |
|---|---|
static Map<Label,Set<Label>> |
CodeUtils.inLabels(Code code) |
static Map<Label,Set<Label>> |
CodeUtils.inLabels(Code code) |
static Iterable<Label> |
CodeUtils.labelsBreadthFirst(Code code) |
| Modifier and Type | Method and Description |
|---|---|
void |
IRPrinterVisitor.visit(Label node) |
Copyright © 2016–2017. All rights reserved.