Changeset 97d58dc for tests/zombies/string-perf/prog.cfa
- Timestamp:
- Nov 18, 2021, 5:42:51 PM (2 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- fefd77a
- Parents:
- 4d0eb1c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/zombies/string-perf/prog.cfa
r4d0eb1c r97d58dc 111 111 string_res x = "starter"; 112 112 string_res y; 113 #if defined OP_P LUS_THEN_ASSIGN113 #if defined OP_PTA 114 114 string_res z; 115 115 #endif … … 129 129 MAYBE( PRINT(y) ) 130 130 char *toAppend = corpus[i % corpuslen]; // ? corpus[rand() % corpuslen] 131 #if defined OP_P LUS_THEN_ASSIGN&& defined IMPL_CFA_LL131 #if defined OP_PTA && defined IMPL_CFA_LL 132 132 z = y; 133 133 z += toAppend; 134 134 y = z; 135 #elif defined OP_P LUS_THEN_ASSIGN135 #elif defined OP_PTA 136 136 y = y + toAppend; 137 #elif defined OP_P LUSEQ137 #elif defined OP_PEQ 138 138 y += toAppend; 139 139 #endif
Note: See TracChangeset
for help on using the changeset viewer.