This commit is contained in:
dzaima 2025-06-11 00:47:11 +03:00
parent a756174483
commit 2a853dbfcd
2 changed files with 3 additions and 3 deletions

View File

@ -884,7 +884,7 @@ static B readRe(BQNFFIType* t, u8* src) {
return r; return r;
} }
static NOINLINE B readComplex(B o, u8* ptr) { // doesn't consume static NOINLINE B readCompound(B o, u8* ptr) { // doesn't consume
BQNFFIType* t = c(BQNFFIType, o); BQNFFIType* t = c(BQNFFIType, o);
if (t->ty == cty_repr) { // cty_repr, scalar:x if (t->ty == cty_repr) { // cty_repr, scalar:x
return readRe(t, ptr); return readRe(t, ptr);
@ -897,7 +897,7 @@ static NOINLINE B readComplex(B o, u8* ptr) { // doesn't consume
} }
static B readAny(B o, u8* ptr) { // doesn't consume static B readAny(B o, u8* ptr) { // doesn't consume
return isC32(o)? readSimple(styG(o), ptr) : readComplex(o, ptr); return isC32(o)? readSimple(styG(o), ptr) : readCompound(o, ptr);
} }
B readUpdatedObj(BQNFFIEnt ent, bool anyMut, B** objs) { B readUpdatedObj(BQNFFIEnt ent, bool anyMut, B** objs) {

View File

@ -1,6 +1,6 @@
## Tests ## Tests
All of the below must be ran from the project's root directory. Some tests require `-DTEST_UTILS` (enabled by default in debug builds) All of the below must be run from the project's root directory. Some tests require `-DTEST_UTILS` (enabled by default in debug builds)
``` C ``` C
test/mainCfgs.sh path/to/mlochbaum/BQN // run the test suite for a couple primary configurations test/mainCfgs.sh path/to/mlochbaum/BQN // run the test suite for a couple primary configurations