ref: bfbbf1413f958bdf7498d1c960b9bcc0d2d6a2d5
parent: 331d88d3ae1263251e234bbc219ebd129e91b55d
author: Martin Storsjö <[email protected]>
date: Sun Sep 30 18:53:29 EDT 2018
checkasm: Define the default call_new if not using a checked_call wrapper We support building for iOS/ARM64, but the aarch64 checked_call wrapper is skipped in that case.
--- a/tests/checkasm/checkasm.h
+++ b/tests/checkasm/checkasm.h
@@ -145,6 +145,9 @@
CLOB, CLOB, CLOB, CLOB, CLOB, CLOB,\
CLOB, CLOB, CLOB, CLOB, CLOB),\
checked_call(func_new, 0, 0, 0, 0, 0, 0, 0, __VA_ARGS__))
+#else
+#define declare_new(ret, ...)
+#define call_new(...) ((func_type *)func_new)(__VA_ARGS__)
#endif
#else /* HAVE_ASM */
#define declare_new(ret, ...)