summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/yjit/yjit.md2
-rwxr-xr-xmisc/test_yjit_asm.sh2
-rw-r--r--misc/yjit_asm_tests.c (renamed from yjit_asm_tests.c)0
3 files changed, 2 insertions, 2 deletions
diff --git a/doc/yjit/yjit.md b/doc/yjit/yjit.md
index 476f162d8f..f84b989f6d 100644
--- a/doc/yjit/yjit.md
+++ b/doc/yjit/yjit.md
@@ -166,13 +166,13 @@ you can contribute things we will want to merge into YJIT.
The YJIT source code is divided between:
- `yjit_asm.c`: x86 in-memory assembler we use to generate machine code
-- `yjit_asm_tests.c`: tests for the in-memory assembler
- `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.h`: C definitions YJIT exposes to the rest of the CRuby
- `yjit.rb`: `YJIT` Ruby module that is exposed to Ruby
- `misc/test_yjit_asm.sh`: script to compile and run the in-memory assembler tests
+- `misc/yjit_asm_tests.c`: tests for the in-memory assembler
The core of CRuby's interpreter logic is found in:
- `insns.def`: defines Ruby's bytecode instructions (gets compiled into `vm.inc`)
diff --git a/misc/test_yjit_asm.sh b/misc/test_yjit_asm.sh
index 0d79ccadf0..cf1ae7bee5 100755
--- a/misc/test_yjit_asm.sh
+++ b/misc/test_yjit_asm.sh
@@ -3,7 +3,7 @@
set -e
set -x
-clang -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wshorten-64-to-32 -I ${0%/*/*} ${0%/*/*}/yjit_asm_tests.c -o asm_test
+clang -std=gnu99 -Wall -Werror -Wno-error=unused-function -Wshorten-64-to-32 -I ${0%/*/*} ${0%/*}/yjit_asm_tests.c -o asm_test
./asm_test
diff --git a/yjit_asm_tests.c b/misc/yjit_asm_tests.c
index 7650505fb3..7650505fb3 100644
--- a/yjit_asm_tests.c
+++ b/misc/yjit_asm_tests.c