compileMethodCallSelfPointer(opts) {
        if ((opts.selfPointerStackOffset !== false) || !this.getMakeMethodCall(opts.identifier)) {
            return;
        }
        // It's a method call...
        this._scope.incStackOffset();
        // Save the self pointer of the object on the stack.
        // This value is passed to CompileCall.compile from the compileProcCall method in this class.
        if (this._selfPointerStackOffset === false) {
            this._scope.incStackOffset();
            this._selfPointerStackOffset = this._scope.getStackOffset();
        }
        helper.saveSelfPointerToLocal(this._program, this._selfPointerStackOffset, opts.reg);
    }
/**
     * Check if it's a method call.
     * If so then create a stack entry and save the self pointer on the stack.
    **/
Check if it's a method call.
If so then create a stack entry and save the self pointer on the stack.
Check if it ' s a method call . If so then create a stack entry and save the self pointer on the stack .
compileMethodCallSelfPointer(opts) {
        if ((opts.selfPointerStackOffset !== false) || !this.getMakeMethodCall(opts.identifier)) {
            return;
        }
        this._scope.incStackOffset();
        if (this._selfPointerStackOffset === false) {
            this._scope.incStackOffset();
            this._selfPointerStackOffset = this._scope.getStackOffset();
        }
        helper.saveSelfPointerToLocal(this._program, this._selfPointerStackOffset, opts.reg);
    }
compileMethodCallSelfPointer ( opts ) { if ( ( opts . selfPointerStackOffset !== false ) || ! this . getMakeMethodCall ( opts . identifier ) ) { return ; } this . _scope . incStackOffset ( ) ; if ( this . _selfPointerStackOffset === false ) { this . _scope . incStackOffset ( ) ; this . _selfPointerStackOffset = this . _scope . getStackOffset ( ) ; } helper . saveSelfPointerToLocal ( this . _program , this . _selfPointerStackOffset , opts . reg ) ; }
Check if it's a method call.
Check if it ' s a method call .
// It's a method call... // Save the self pointer of the object on the stack. // This value is passed to CompileCall.compile from the compileProcCall method in this class.