stage1: consolodate interning

- merge const_void_val → intern.x_void
- move const_zero_byte → intern.zero_byte
- wrap intern access
This commit is contained in:
Michael Dusan
2019-11-25 17:18:56 -05:00
parent 35d65cceb8
commit 6c89f96df1
6 changed files with 65 additions and 25 deletions

View File

@@ -141,6 +141,7 @@ void memprof_dump_stats(FILE *file) {
fprintf(stderr, "void: interned %zu times\n", memprof_intern_count.x_void);
fprintf(stderr, "null: interned %zu times\n", memprof_intern_count.x_null);
fprintf(stderr, "unreachable: interned %zu times\n", memprof_intern_count.x_unreachable);
fprintf(stderr, "zero_byte: interned %zu times\n", memprof_intern_count.zero_byte);
}
#endif