public override void compile(CompilerContext context, MethodVisitor mv) { // Generate the instruction label before the hook call so that // the hook is being executed when branching to the instruction. if (hasLabel()) { mv.visitLabel(Label); Label = null; } context.visitHook(nativeCodeSequence); base.compile(context, mv); }
public override void compile(CompilerContext context, MethodVisitor mv) { startCompile(context, mv); context.compileNativeCodeSequence(nativeCodeSequence, this); }
public While(MethodVisitor methodVisitor, Label repeat, Label done) { this._methodVisitor = methodVisitor; this._repeat = repeat; this._done = done; }
internal JumpVisitor(ExpressionVisitor eval, MethodVisitor methodVisitor, Label target) { this._eval = eval; this._methodVisitor = methodVisitor; this._target = target; }
public Method(MethodVisitor methodVisitor, bool isVoid) { this._methodVisitor = methodVisitor; this._isVoid = isVoid; }
public If(MethodVisitor methodVisitor, Label after) { this._methodVisitor = methodVisitor; this._after = after; }
public override void compile(CompilerContext context, MethodVisitor mv) { startCompile(context, mv); context.visitCall(context.CodeBlock.StartAddress, getMethodName(context)); }