MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove T_CFUNC gate

+2 -2
+2 -2
src/silver/swarm.c
··· 859 859 if (idx >= (uint32_t)func->const_count) return NULL; 860 860 861 861 ant_value_t cv = func->constants[idx]; 862 - if (vtype(cv) != T_FUNC) return NULL; 862 + if (vtype(cv) != T_CFUNC) return NULL; 863 863 864 864 return (sv_func_t *)(uintptr_t)vdata(cv); 865 865 } ··· 1915 1915 uint32_t idx = sv_get_u32(ip + 1); 1916 1916 if (idx >= (uint32_t)func->const_count) return false; 1917 1917 ant_value_t cv = func->constants[idx]; 1918 - if (vtype(cv) != T_FUNC) return false; 1918 + if (vtype(cv) != T_CFUNC) return false; 1919 1919 break; 1920 1920 } 1921 1921 case OP_SPECIAL_OBJ: