Class IRBytecodeContext
java.lang.Object
gw.internal.gosu.ir.compiler.bytecode.IRBytecodeContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.objectweb.asm.Labelorg.objectweb.asm.LabelintgetLocalVar(IRSymbol symbol) intorg.objectweb.asm.MethodVisitorgetMv()booleanvoidindexSymbols(List<IRSymbol> symbols) voidvoidmakeTempVar(IRType type) voidvoidvoidpopFinallyStatement(IRFinallyCodePartitioner partition) voidpopScope()voidpushBreakLabel(org.objectweb.asm.Label label) voidpushContinueLabel(org.objectweb.asm.Label label) pushFinallyStatement(IRTryCatchFinallyStatement tryCatchFinallyStmt) voidintsetLineNumber(int lineNumber) voidvisitLabel(org.objectweb.asm.Label label) void
-
Constructor Details
-
IRBytecodeContext
public IRBytecodeContext(org.objectweb.asm.MethodVisitor mv)
-
-
Method Details
-
getMv
public org.objectweb.asm.MethodVisitor getMv() -
visitLabel
public void visitLabel(org.objectweb.asm.Label label) -
getLocalCount
public int getLocalCount() -
getMaxScopeSize
public int getMaxScopeSize() -
visitLocalVars
public void visitLocalVars() -
pushScope
public void pushScope() -
popScope
public void popScope() -
indexThis
-
indexSymbols
-
getLocalVar
-
makeTempVar
-
pushFinallyStatement
public IRFinallyCodePartitioner pushFinallyStatement(IRTryCatchFinallyStatement tryCatchFinallyStmt) -
popFinallyStatement
-
hasFinallyStatements
public boolean hasFinallyStatements() -
getFinallyParitioners
-
peekFinallyPartitioner
-
inlineFinallyStatements
-
compile
-
pushBreakLabel
public void pushBreakLabel(org.objectweb.asm.Label label) -
popBreakLabel
public void popBreakLabel() -
pushContinueLabel
public void pushContinueLabel(org.objectweb.asm.Label label) -
popContinueLabel
public void popContinueLabel() -
getCurrentBreakLabel
public org.objectweb.asm.Label getCurrentBreakLabel() -
getCurrentContinueLabel
public org.objectweb.asm.Label getCurrentContinueLabel() -
setLineNumber
public int setLineNumber(int lineNumber)
-