Update vm-design.rst

pull/168/head
Dibyendu Majumdar 5 years ago committed by GitHub
parent b775fff18f
commit c0d9b9018a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -294,4 +294,4 @@ This is only for the brave who want to hack with the code.
To enable the new VM first build and install VMBuilder as described above.
Then build Ravi using the cmake flags ``-DSTATIC_BUILD=ON`` and ``-DASM_VM=ON`` enabled. Don't enable JIT.
Right now the ASM VM is exercised via the ``test_vm`` sub project. The ASM VM is only invoked in special cases, i.e. a function has small number of instructions and only contains supported instructions, and additionally as OP_CALL is not yet implemented, you can only call the new VM via the Lua C api (see [test_asmvm() in test_vm.c](https://github.com/dibyendumajumdar/ravi/blob/master/tests/test_vm.c)).
Right now the ASM VM is exercised via the ``test_vm`` sub project. The ASM VM is only invoked in special cases, i.e. a function has small number of instructions and only contains supported instructions, and additionally as OP_CALL is not yet implemented, you can only call the new VM via the Lua C api (see `test_asmvm() in test_vm.c <https://github.com/dibyendumajumdar/ravi/blob/master/tests/test_vm.c>`_).

Loading…
Cancel
Save