Class AbstractBytecodeCompiler
- java.lang.Object
-
- gw.internal.gosu.ir.compiler.bytecode.AbstractBytecodeCompiler
-
- Direct Known Subclasses:
IRArithmeticExpressionCompiler,IRArrayLengthExpressionCompiler,IRArrayLoadExpressionCompiler,IRArrayStoreStatementCompiler,IRAssignmentStatementCompiler,IRBooleanLiteralCompiler,IRBreakStatementCompiler,IRCastExpressionCompiler,IRCharacterLiteralCompiler,IRClassCompiler,IRCompositeExpressionCompiler,IRConditionalAndExpressionCompiler,IRConditionalOrExpressionCompiler,IRContinueStatementCompiler,IRDoWhileStatementCompiler,IREqualityExpressionCompiler,IREvalStatementCompiler,IRFieldGetExpressionCompiler,IRFieldSetStatementCompiler,IRForEachStatementCompiler,IRIdentifierCompiler,IRIfStatementCompiler,IRInstanceOfExpressionCompiler,IRLazyTypeMethodCallExpressionCompiler,IRMethodCallExpressionCompiler,IRMethodCallStatementCompiler,IRMonitorLockAcquireCompiler,IRMonitorLockReleaseCompiler,IRNegationExpressionCompiler,IRNewArrayExpressionCompiler,IRNewExpressionCompiler,IRNewMultiDimensionalArrayExpressionCompiler,IRNewStatementCompiler,IRNotExpressionCompiler,IRNullLiteralCompiler,IRNumericLiteralCompiler,IRPrimitiveTypeConversionCompiler,IRRelationalExpressionCompiler,IRReturnStatementCompiler,IRStatementListCompiler,IRStringLiteralExpressionCompiler,IRSwitchStatementCompiler,IRSyntheticStatementCompiler,IRTernaryExpressionCompiler,IRThrowStatementCompiler,IRTryCatchFinallyStatementCompiler,IRWhileStatementCompiler
public class AbstractBytecodeCompiler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static gw.internal.ext.org.objectweb.asm.TypeOBJECT_TYPE
-
Constructor Summary
Constructors Constructor Description AbstractBytecodeCompiler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcompileConditionAssignment(IRExpression expression, gw.internal.ext.org.objectweb.asm.MethodVisitor mv)static intgetIns(int opcode, IRType type)static booleanisNotPartOfBooleanExpr(IRExpression expression)static booleanisWide(IRType type)protected static intnegateOpcode(int op)
-
-
-
Method Detail
-
getIns
public static int getIns(int opcode, IRType type)
-
isWide
public static boolean isWide(IRType type)
-
compileConditionAssignment
public static void compileConditionAssignment(IRExpression expression, gw.internal.ext.org.objectweb.asm.MethodVisitor mv)
-
isNotPartOfBooleanExpr
public static boolean isNotPartOfBooleanExpr(IRExpression expression)
-
negateOpcode
protected static int negateOpcode(int op)
-
-