summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maximechevalierb@gmail.com>2021-04-27 11:25:00 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:34 -0400
commit34dcd0b3e642778b34c354cee503826f1fc373fc (patch)
treeeb30e7da794db9754bee0c9eec925e32ff7f8adf
parent31ab35309b12db2d7d4c0b387dc6fbb531068e70 (diff)
Update README.md
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 7898ef3962..3deb13cdfd 100644
--- a/README.md
+++ b/README.md
@@ -85,9 +85,10 @@ The YJIT source code is divided between:
- `yjit_codegen.c`: logic for translating Ruby bytecode to machine code
- `yjit_core.c`: basic block versioning logic, core structure of YJIT
- `yjit_iface.c`: code YJIT uses to interface with the rest of CRuby
-- `yjit.rb`: `YJIT` module that is exposed to Ruby code
+- `yjit.h`: C definitions YJIT exposes to the rest of the CRuby
+- `yjit.rb`: `YJIT` Ruby module that is exposed to Ruby
- `test_asm.sh`: script to compile and run the in-memory assembler tests
-- `vm.inc.erb`: template instruction handler used to hook into the interpreter
+- `tool/ruby_vm/views/vm.inc.erb`: template instruction handler used to hook into the interpreter
The core of CRuby's interpreter logic is found in:
- `insns.def`: defines Ruby's bytecode instructions (gets compiled into `vm.inc`)