Make constant construtors of L2JIT.opcode CACHE and RETURN be take a
authorKim Nguyễn <kn@lri.fr>
Fri, 20 Apr 2012 13:41:17 +0000 (15:41 +0200)
committerKim Nguyễn <kn@lri.fr>
Fri, 20 Apr 2012 13:57:35 +0000 (15:57 +0200)
commit762af11c30f30845ab7cd72d640ea153ed160487
treef9723bfa5c123e75c8f050b3c975153b408a9929
parent0c50360a781f9c1048ac84d90561cdd5a6fb34ac
Make constant construtors of L2JIT.opcode CACHE and RETURN be take a
dummy unit argument. This improves the code generated for the pattern
matching in l2jit_dispatch (in runtime.ml).
Replaces inline macros LOOP and LOOP_TAG with function calls.
src/l2JIT.ml
src/l2JIT.mli
src/runtime.ml