Verified Commit 0f06ce70 authored by Camil Staps's avatar Camil Staps 🚀

Make internal labels smaller to speed up code generation/linking

parent 6c163b3e
Pipeline #21914 passed with stages
in 18 minutes and 42 seconds
......@@ -188,7 +188,7 @@ struct label *new_label_at_offset(uint32_t offset) {
int internal_label_id = 0;
struct label *new_internal_label(void) {
char label_name[14];
sprintf(label_name,"_i_%d%c",internal_label_id++,'\0');
sprintf(label_name,"%%%x",internal_label_id++);
struct label *label = enter_label(label_name);
return label;
}
......
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