this.currentMethod = method;
    public void startMethod(VmMethod method) {        this.maxLocals = method.getBytecode().getNoLocals();        this.loader = method.getDeclaringClass().getLoader();        helper.setMethod(method);        this.startOffset = os.getLength();        this.stackFrame = new X86StackFrame(os, helper, method, context, cm);        stackFrame.emitHeader();    }