Examples of ZeroOperandArgNoBlockCallInstr


Examples of org.jruby.ir.instructions.specialized.ZeroOperandArgNoBlockCallInstr

        Operand[] callArgs = getCallArgs();
        if (hasClosure() || containsSplat(callArgs)) return this;
       
        switch (callArgs.length) {
            case 0:
                return new ZeroOperandArgNoBlockCallInstr(this);
            case 1:
                if (isAllFixnums()) return new OneFixnumArgNoBlockCallInstr(this);

                return new OneOperandArgNoBlockCallInstr(this);
        }
View Full Code Here

Examples of org.jruby.ir.instructions.specialized.ZeroOperandArgNoBlockCallInstr

        Operand[] callArgs = getCallArgs();
        if (containsArgSplat(callArgs)) return this;

        switch (callArgs.length) {
            case 0:
                return hasClosure() ? this : new ZeroOperandArgNoBlockCallInstr(this);
            case 1:
                if (isAllFixnums() && !hasClosure()) return new OneFixnumArgNoBlockCallInstr(this);

                return hasClosure() ? new OneOperandArgBlockCallInstr(this) : new OneOperandArgNoBlockCallInstr(this);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.