Package org.jruby.compiler.ir.operands

Examples of org.jruby.compiler.ir.operands.Operand.retrieve()


            boolean v1True  = ((IRubyObject)value1).isTrue();
            boolean op2True = ((BooleanLiteral)op2).isTrue();
            return (v1True && !op2True) || (v1True && !op2True) ? target : null;
        }
        else {
            Object value2 = op2.retrieve(interp);
//            System.out.println("VALUE1: " + value1 + ", VALUE2: " + value2);
            // FIXME: equals? rather than ==
            return !(value1 == value2) ? target : null;
        }
    }
View Full Code Here


            boolean v1True  = ((IRubyObject)value1).isTrue();
            boolean op2True = ((BooleanLiteral)op2).isTrue();
            return (v1True && op2True) || (!v1True && !op2True) ? target : null;
        }
        else {
            Object value2 = op2.retrieve(interp);
//            System.out.println("VALUE1: " + value1 + ", VALUE2: " + value2);
            // FIXME: equals? rather than ==
            return (value1 == value2) ? target : null;
        }
    }
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.