public abstract class LogOp extends Operator
Constructor and Description |
---|
LogOp(int offset,
int variableLength) |
Modifier and Type | Method and Description |
---|---|
static void |
build(ClassFile classfile,
CodeAttribute code,
Expr expr,
java.util.Vector<java.lang.Integer> indices,
boolean not,
boolean ex2,
boolean and,
java.util.Vector paralist) |
void |
codegen(ClassFile classfile,
CodeAttribute code,
Expr expr,
boolean not,
java.util.Vector paralist) |
void |
if_codegen(ClassFile classfile,
CodeAttribute code,
boolean not,
Expr expr,
Statement then_block,
Statement else_block,
java.util.Vector paralist) |
void |
loop_codegen(ClassFile classfile,
CodeAttribute code,
Expr expr,
int breakpoint,
boolean not,
java.util.Vector paralist) |
static void |
replace_index(CodeAttribute code,
java.util.Vector<java.lang.Integer> indices,
int else_index,
int then_index) |
getOffset, getVariableLength, makePrimitive, makeWrapper, TRExp, TRExpPossibility
public void codegen(ClassFile classfile, CodeAttribute code, Expr expr, boolean not, java.util.Vector paralist) throws JVMCodeException
codegen
in class Operator
JVMCodeException
public void if_codegen(ClassFile classfile, CodeAttribute code, boolean not, Expr expr, Statement then_block, Statement else_block, java.util.Vector paralist) throws JVMCodeException
JVMCodeException
public void loop_codegen(ClassFile classfile, CodeAttribute code, Expr expr, int breakpoint, boolean not, java.util.Vector paralist) throws JVMCodeException
JVMCodeException
public static void build(ClassFile classfile, CodeAttribute code, Expr expr, java.util.Vector<java.lang.Integer> indices, boolean not, boolean ex2, boolean and, java.util.Vector paralist) throws JVMCodeException
JVMCodeException
public static void replace_index(CodeAttribute code, java.util.Vector<java.lang.Integer> indices, int else_index, int then_index) throws JVMCodeException
JVMCodeException