Commit bfbbf141 authored by Martin Storsjö's avatar Martin Storsjö

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.
parent 331d88d3
......@@ -145,6 +145,9 @@ void checkasm_stack_clobber(uint64_t clobber, ...);
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, ...)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment