| Package | Description |
|---|---|
| org.classdump.luna.compiler.analysis |
Static analysis of Lua programs operating on the IR.
|
| org.classdump.luna.compiler.gen.asm |
Java bytecode generation using the ASM library.
|
| org.classdump.luna.compiler.tf |
IR transformations.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeInfo |
Typer.analyseTypes(IRFunc fn) |
static TypeInfo |
TypeInfo.of(Map<Val,Type> valTypes,
Map<PhiVal,Type> phiValTypes,
Map<MultiVal,TypeSeq> multiValTypes,
Set<Var> vars,
Set<Var> reifiedVars,
TypeSeq returnType) |
| Modifier and Type | Field and Description |
|---|---|
TypeInfo |
ASMBytecodeEmitter.types |
| Constructor and Description |
|---|
ASMBytecodeEmitter(IRFunc fn,
SlotAllocInfo slots,
TypeInfo types,
DependencyInfo deps,
CompilerSettings compilerSettings,
ClassNameTranslator classNameTranslator,
String sourceFile) |
| Modifier and Type | Method and Description |
|---|---|
static IRFunc |
BranchInliner.inlineBranches(IRFunc fn,
TypeInfo typeInfo) |
static IRFunc |
DeadCodePruner.pruneDeadCode(IRFunc fn,
TypeInfo types,
LivenessInfo liveness) |
static IRFunc |
ConstFolder.replaceConstOperations(IRFunc fn,
TypeInfo typeInfo) |
| Constructor and Description |
|---|
ConstFolderVisitor(TypeInfo typeInfo) |
DeadCodePrunerVisitor(TypeInfo types,
LivenessInfo liveness) |
Copyright © 2016–2017. All rights reserved.