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 org.objectweb.asm.Type
OBJECT_TYPE
-
Constructor Summary
Constructors Constructor Description AbstractBytecodeCompiler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
compileConditionAssignment(IRExpression expression, org.objectweb.asm.MethodVisitor mv)
static int
getIns(int opcode, IRType type)
static boolean
isNotPartOfBooleanExpr(IRExpression expression)
static boolean
isWide(IRType type)
protected static int
negateOpcode(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, org.objectweb.asm.MethodVisitor mv)
-
isNotPartOfBooleanExpr
public static boolean isNotPartOfBooleanExpr(IRExpression expression)
-
negateOpcode
protected static int negateOpcode(int op)
-
-