- blaise_arc.c: implement _StringAddRef, _StringRelease, _StringConcat using a 12-byte header (refcnt/length/capacity) at the string pointer; refcnt=-1 marks immortal static strings; _StringConcat returns refcnt=0 so the compiler-inserted _StringAddRef at assignment brings it to 1 - EmitDataSection: string literals now include the 12-byte immortal header so _StringAddRef/_StringRelease are safe when called on literal values - EmitWrite: add 12 to string pointer before calling printf so char data is passed correctly (header is now part of every string allocation) - Update TestWriteLn_StringLit_CallsPrintf to check for the +12 offset instruction instead of the no-longer-direct label argument |
||
|---|---|---|
| .. | ||
| src | ||
| .gitkeep | ||
| Makefile | ||
| project.xml | ||