public class RunInstCompiler extends Object implements InstCompiler<RunInst>
CALL, CAST_I, CAST_O, COPY, DO, E_LOAD, E_POP, E_PUSH, EXIT, GET, GOTO, HINT, HINT_D, HINT_S, IF, LABEL, LDC_B, LDC_D, LDC_N, LDC_S, LINE, LOAD, LOAD_C, LOCAL, M_DEF, M_FRAG, M_REF, M_TYP, NEW_A, NEW_O, POP, PULL, PUSH, PUT, RETURN, STORE, THROW, TYPEOF, UO
Constructor and Description |
---|
RunInstCompiler() |
Modifier and Type | Method and Description |
---|---|
void |
doCompiler(RunInst astInst,
InstQueue queue,
CompilerContext compilerContext)
生成指令序列
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
instLocation, instLocation, instLocationFocus
public void doCompiler(RunInst astInst, InstQueue queue, CompilerContext compilerContext)
InstCompiler
doCompiler
in interface InstCompiler<RunInst>
astInst
- 要编译的 Instqueue
- 编译输出的指令序列compilerContext
- 编译上下文Copyright © 2020. All rights reserved.