diff test/plain_c++/test_main.cc @ 466:ddfb9577a00e

introduced platform-native thiscall mode (DC_CALL_C_DEFAULT_THIS), as needed for upcoming aggregate support (until now only x86 platforms allowed for specifically selecting thiscall mode, given the different conventions on the same platform); also added respective DC_SIGCHAR_CC_THISCALL ('*')
author Tassilo Philipp
date Wed, 02 Feb 2022 18:30:44 +0100
parents da4b267c10bf
children 71c884e610f0
line wrap: on
line diff
--- a/test/plain_c++/test_main.cc	Wed Feb 02 12:55:23 2022 +0100
+++ b/test/plain_c++/test_main.cc	Wed Feb 02 18:30:44 2022 +0100
@@ -290,6 +290,7 @@
 {
   bool r = false;
   DCCallVM* pc = dcNewCallVM(4096);
+  dcMode(pc, DC_CALL_C_DEFAULT_THIS);
   dcReset(pc);
   if(setjmp(jbuf) != 0)
     printf("sigsegv\n");