remove rt_memberOf & rt_indexOf
This commit is contained in:
parent
95b1beb9db
commit
424448aa40
@ -61,7 +61,6 @@ static NOINLINE B2 splitCells(B n, B p, bool indexOf) {
|
|||||||
#undef SYMB
|
#undef SYMB
|
||||||
}
|
}
|
||||||
|
|
||||||
extern B rt_indexOf;
|
|
||||||
B indexOf_c2(B t, B w, B x) {
|
B indexOf_c2(B t, B w, B x) {
|
||||||
if (RARE(!isArr(w) || RNK(w)!=1)) {
|
if (RARE(!isArr(w) || RNK(w)!=1)) {
|
||||||
B2 t = splitCells(x, w, true);
|
B2 t = splitCells(x, w, true);
|
||||||
@ -144,7 +143,6 @@ B indexOf_c2(B t, B w, B x) {
|
|||||||
|
|
||||||
B enclosed_0;
|
B enclosed_0;
|
||||||
B enclosed_1;
|
B enclosed_1;
|
||||||
extern B rt_memberOf;
|
|
||||||
B memberOf_c2(B t, B w, B x) {
|
B memberOf_c2(B t, B w, B x) {
|
||||||
if (isAtm(x) || RNK(x)!=1) {
|
if (isAtm(x) || RNK(x)!=1) {
|
||||||
B2 t = splitCells(w, x, false);
|
B2 t = splitCells(w, x, false);
|
||||||
|
|||||||
@ -107,7 +107,7 @@ B comp_currSrc;
|
|||||||
B comp_currRe; // ⟨REPL mode ⋄ scope ⋄ compiler ⋄ runtime ⋄ glyphs ⋄ sysval names ⋄ sysval values⟩
|
B comp_currRe; // ⟨REPL mode ⋄ scope ⋄ compiler ⋄ runtime ⋄ glyphs ⋄ sysval names ⋄ sysval values⟩
|
||||||
|
|
||||||
B rt_undo, rt_select, rt_slash, rt_pick, rt_take, rt_drop, rt_insert, rt_depth,
|
B rt_undo, rt_select, rt_slash, rt_pick, rt_take, rt_drop, rt_insert, rt_depth,
|
||||||
rt_group, rt_under, rt_reverse, rt_indexOf, rt_count, rt_memberOf, rt_find, rt_transp;
|
rt_group, rt_under, rt_reverse, rt_count, rt_find, rt_transp;
|
||||||
Block* load_compObj(B x, B src, B path, Scope* sc) { // consumes x,src
|
Block* load_compObj(B x, B src, B path, Scope* sc) { // consumes x,src
|
||||||
SGet(x)
|
SGet(x)
|
||||||
usz xia = IA(x);
|
usz xia = IA(x);
|
||||||
@ -421,9 +421,7 @@ void load_init() { // very last init function
|
|||||||
rt_group = Get(rtObjRaw, n_group ); gc_add(rt_group);
|
rt_group = Get(rtObjRaw, n_group ); gc_add(rt_group);
|
||||||
rt_under = Get(rtObjRaw, n_under ); gc_add(rt_under);
|
rt_under = Get(rtObjRaw, n_under ); gc_add(rt_under);
|
||||||
rt_reverse = Get(rtObjRaw, n_reverse ); gc_add(rt_reverse);
|
rt_reverse = Get(rtObjRaw, n_reverse ); gc_add(rt_reverse);
|
||||||
rt_indexOf = Get(rtObjRaw, n_indexOf ); gc_add(rt_indexOf);
|
|
||||||
rt_count = Get(rtObjRaw, n_count ); gc_add(rt_count);
|
rt_count = Get(rtObjRaw, n_count ); gc_add(rt_count);
|
||||||
rt_memberOf= Get(rtObjRaw, n_memberOf); gc_add(rt_memberOf);
|
|
||||||
rt_find = Get(rtObjRaw, n_find ); gc_add(rt_find);
|
rt_find = Get(rtObjRaw, n_find ); gc_add(rt_find);
|
||||||
rt_transp = Get(rtObjRaw, n_transp ); gc_add(rt_transp);
|
rt_transp = Get(rtObjRaw, n_transp ); gc_add(rt_transp);
|
||||||
rt_depth = Get(rtObjRaw, n_depth ); gc_add(rt_depth);
|
rt_depth = Get(rtObjRaw, n_depth ); gc_add(rt_depth);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user