Examples of slowToArray()


Examples of org.jruby.truffle.runtime.core.RubyArray.slowToArray()

        if (isSplatted) {
            // TODO(CS): need something better to splat the arguments array
            notDesignedForCompilation();
            final RubyArray argumentsArray = (RubyArray) argumentsObjects[0];
            return callNode.call(frame, RubyArguments.pack(method, method.getDeclarationFrame(), self, blockObject,argumentsArray.slowToArray()));
        } else {
            return callNode.call(frame, RubyArguments.pack(method, method.getDeclarationFrame(), self, blockObject, argumentsObjects));
        }
    }
View Full Code Here

Examples of org.jruby.truffle.runtime.core.RubyArray.slowToArray()

            array = splat.executeArray(frame);
        } catch (UnexpectedResultException e) {
            throw new UnsupportedOperationException(e);
        }

        for (Object value : array.slowToArray()) {
            if (dispatchCaseEqual.callIsTruthy(frame, caseExpression, "===", null, value)) {
                return true;
            }
        }
View Full Code Here

Examples of org.jruby.truffle.runtime.core.RubyArray.slowToArray()

        final RubyArray handlingClasses = (RubyArray) handlingClassesArray.execute(frame);

        final RubyClass exceptionRubyClass = exception.getLogicalClass();

        for (Object handlingClass : handlingClasses.slowToArray()) {
            if (ModuleOperations.assignableTo(exceptionRubyClass, (RubyClass) handlingClass)) {
                return true;
            }
        }
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.