compileProcCall(opts, result) {
        let scope       = this._scope;
        let iterator    = new Iterator({tokens: opts.expression.tokens, compiler: this._compiler});
        let CompileCall = require('../compiler/CompileCall').CompileCall;
        iterator.skipWhiteSpace().next();
        new CompileCall({compiler: this._compiler, program: this._program, scope: scope}).compile({
            iterator:               iterator,
            proc:                   opts.identifier,
            procExpression:         null,
            procIdentifier:         opts.identifier,
            callMethod:             opts.callMethod,
            selfPointerStackOffset: this._selfPointerStackOffset
        });
        helper.setStackOffsetToPtr(this._program, this._scope);
        helper.assignToPtr(this._program, $.CMD_SET, $.T_NUM_G, $.REG_RET);
        opts.index      = opts.expression.tokens.length;
        result.dataSize = 1;
    }
/**
     * Compile a procedure call and add the return register to the register
    **/
Compile a procedure call and add the return register to the register
Compile a procedure call and add the return register to the register
compileProcCall(opts, result) {
        let scope       = this._scope;
        let iterator    = new Iterator({tokens: opts.expression.tokens, compiler: this._compiler});
        let CompileCall = require('../compiler/CompileCall').CompileCall;
        iterator.skipWhiteSpace().next();
        new CompileCall({compiler: this._compiler, program: this._program, scope: scope}).compile({
            iterator:               iterator,
            proc:                   opts.identifier,
            procExpression:         null,
            procIdentifier:         opts.identifier,
            callMethod:             opts.callMethod,
            selfPointerStackOffset: this._selfPointerStackOffset
        });
        helper.setStackOffsetToPtr(this._program, this._scope);
        helper.assignToPtr(this._program, $.CMD_SET, $.T_NUM_G, $.REG_RET);
        opts.index      = opts.expression.tokens.length;
        result.dataSize = 1;
    }
compileProcCall ( opts , result ) { let scope = this . _scope ; let iterator = new Iterator ( { tokens : opts . expression . tokens , compiler : this . _compiler } ) ; let CompileCall = require ( '../compiler/CompileCall' ) . CompileCall ; iterator . skipWhiteSpace ( ) . next ( ) ; new CompileCall ( { compiler : this . _compiler , program : this . _program , scope : scope } ) . compile ( { iterator : iterator , proc : opts . identifier , procExpression : null , procIdentifier : opts . identifier , callMethod : opts . callMethod , selfPointerStackOffset : this . _selfPointerStackOffset } ) ; helper . setStackOffsetToPtr ( this . _program , this . _scope ) ; helper . assignToPtr ( this . _program , $ . CMD_SET , $ . T_NUM_G , $ . REG_RET ) ; opts . index = opts . expression . tokens . length ; result . dataSize = 1 ; }
Compile a procedure call and add the return register to the register
Compile a procedure call and add the return register to the register