make some more flags compile

This commit is contained in:
dzaima 2021-10-11 22:39:52 +03:00
parent 363309a218
commit 6860ba5f9d
2 changed files with 9 additions and 2 deletions

View File

@ -213,13 +213,13 @@
thrM(SYMB ": Unexpected argument types"); \ thrM(SYMB ": Unexpected argument types"); \
} }
#else // if !TYPED_ARITH #else // if !TYPED_ARITH
#define GC2i(NAME, EXPR, EXTRA) B NAME##_c2(B t, B w, B x) { \ #define GC2i(SYMB, NAME, EXPR, EXTRA, BIT) B NAME##_c2(B t, B w, B x) { \
if (isF64(w) & isF64(x)) { f64 wv=w.f; f64 xv=x.f; return m_f64(EXPR); } \ if (isF64(w) & isF64(x)) { f64 wv=w.f; f64 xv=x.f; return m_f64(EXPR); } \
EXTRA \ EXTRA \
P2(NAME) \ P2(NAME) \
thrM(SYMB ": Unexpected argument types"); \ thrM(SYMB ": Unexpected argument types"); \
} }
#define GC2f(NAME, EXPR, EXTRA) B NAME##_c2(B t, B w, B x) { \ #define GC2f(SYMB, NAME, EXPR, EXTRA) B NAME##_c2(B t, B w, B x) { \
if (isF64(w) & isF64(x)) return m_f64(EXPR); \ if (isF64(w) & isF64(x)) return m_f64(EXPR); \
EXTRA \ EXTRA \
P2(NAME) \ P2(NAME) \

View File

@ -134,6 +134,13 @@ B bqn_fmt(B x) { // consumes
B bqn_repr(B x) { // consumes B bqn_repr(B x) { // consumes
return c1(load_repr, x); return c1(load_repr, x);
} }
#else
B bqn_fmt(B x) {
return x;
}
B bqn_repr(B x) {
return x;
}
#endif #endif
void load_gcFn() { void load_gcFn() {