return last != null && last.markTailCalls();
}
public Expression compile(Executable exec) throws XPathException {
if (test instanceof Literal) {
Value testVal = ((Literal)test).getValue();
// condition known statically, so we only need compile the code if true.
// This can happen with expressions such as test="function-available('abc')".
try {
if (testVal.effectiveBooleanValue()) {
return compileSequenceConstructor(exec, iterateAxis(Axis.CHILD), true);
// Block block = new Block();
// block.setLocationId(allocateLocationId(getSystemId(), getLineNumber()));
// compileChildren(exec, block, true);
// return block.simplify(getStaticContext());