Move the test file
This commit is contained in:
parent
58956dba16
commit
4d4bdcf368
@ -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`)
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user