rr = rr.getContextNodes(inPredicate);
rr = rr.getContextNodes(contextId);
	public Sequence eval(Sequence contextSequence, Item contextItem) throws XPathException {        if (context.getProfiler().isEnabled()) {            context.getProfiler().start(this);                   context.getProfiler().message(this, Profiler.DEPENDENCIES, "DEPENDENCIES", Dependency.getDependenciesName(this.getDependencies()));            if (contextSequence != null)                context.getProfiler().message(this, Profiler.START_SEQUENCES, "CONTEXT SEQUENCE", contextSequence);            if (contextItem != null)                context.getProfiler().message(this, Profiler.START_SEQUENCES, "CONTEXT ITEM", contextItem.toSequence());        }        		if (getLength() == 0)			return Sequence.EMPTY_SEQUENCE;        		if(contextItem != null)			contextSequence = contextItem.toSequence();                Sequence result;		Expression left = getLeft();		Expression right = getRight();		if(optimize) {			NodeSet rl = left.eval(contextSequence, null).toNodeSet();			rl = rl.getContextNodes(inPredicate);			NodeSet rr = right.eval(contextSequence, null).toNodeSet();			rr = rr.getContextNodes(inPredicate);            result = rl.union(rr);					} else {			boolean ls = left.eval(contextSequence).effectiveBooleanValue();			if (ls)                result= BooleanValue.TRUE;            else {                boolean rs = right.eval(contextSequence).effectiveBooleanValue();                result = ls || rs ? BooleanValue.TRUE : BooleanValue.FALSE;                            }		}                if (context.getProfiler().isEnabled())             context.getProfiler().end(this, "", result);                return result;	}