3 ms·
An offset from the first label, or some nearby alignment point? Makes sense. Do you have a pointer to the relevant part of OCaml's source? The whole thing is p
by frivoal 11y ago
An offset from the first label, or some nearby alignment point? Makes sense.
Do you have a pointer to the relevant part of OCaml's source? The whole thing is probably worth a read, but don't think I can set aside enough time for that soon, and it could take me a while to find the right part.
- sklogic 11y agohttps://github.com/ocaml/ocaml/blob/trunk/byterun/interp.c https://github.com/ocaml/ocaml/blob/trunk/byterun/interp.c See the "Next" macro definition.
- frivoal 11y agoNice. Simple and efficient. I am going to read more from that code base. Looks like this might be a nice read as well: https://ocaml.org/docs/papers.html#BytecodeCompilerandBytecodeInterpreter https://ocaml.org/docs/papers.html#BytecodeCompilerandByteco...