projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Remove the need for a NOP operation in automata bytecode."
[SXSI/xpathcomp.git]
/
src
/
runtime.ml
diff --git
a/src/runtime.ml
b/src/runtime.ml
index
b4de9cf
..
2d76bc1
100644
(file)
--- a/
src/runtime.ml
+++ b/
src/runtime.ml
@@
-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)