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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcompileConditionAssignment(IRExpression expression, org.objectweb.asm.MethodVisitor mv) static intstatic booleanisNotPartOfBooleanExpr(IRExpression expression) static booleanprotected static intnegateOpcode(int op)
-
Field Details
-
OBJECT_TYPE
public static final org.objectweb.asm.Type OBJECT_TYPE
-
-
Constructor Details
-
AbstractBytecodeCompiler
public AbstractBytecodeCompiler()
-
-
Method Details
-
getIns
-
isWide
-
compileConditionAssignment
public static void compileConditionAssignment(IRExpression expression, org.objectweb.asm.MethodVisitor mv) -
isNotPartOfBooleanExpr
-
negateOpcode
protected static int negateOpcode(int op)
-