Revert "Remove the need for a NOP operation in automata bytecode."
[SXSI/xpathcomp.git] / src / runtime.ml
index b4de9cf..2d76bc1 100644 (file)
@@ -255,6 +255,7 @@ DEFINE LOOP_TAG (t, states, tag, ctx) = (
 
     and l2jit_dispatch_instr t ctx instr =
       match instr with
+       | L2JIT.NOP () -> nil_res
        | L2JIT.FIRST_CHILD s -> LOOP ((Tree.first_child tree t), s, ctx)
        | L2JIT.NEXT_SIBLING s -> LOOP ((Tree.next_sibling tree t), s, ctx)