summaryrefslogtreecommitdiff
path: root/rts/include/stg/MachRegsForHost.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/include/stg/MachRegsForHost.h')
-rw-r--r--rts/include/stg/MachRegsForHost.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/rts/include/stg/MachRegsForHost.h b/rts/include/stg/MachRegsForHost.h
index 613a0bc4be..0a6ab5736d 100644
--- a/rts/include/stg/MachRegsForHost.h
+++ b/rts/include/stg/MachRegsForHost.h
@@ -71,6 +71,11 @@
#define MACHREGS_riscv64 1
#endif
+#if defined(wasm32_HOST_ARCH)
+#undef MACHREGS_NO_REGS
+#define MACHREGS_NO_REGS 1
+#endif
+
#endif
#include "MachRegs.h"