remove a field for debug of union header

This commit is contained in:
Yuichi Nishiwaki 2013-12-03 11:49:32 +09:00
parent 7685afdb79
commit b5b30de05a
2 changed files with 0 additions and 2 deletions

View File

@ -11,7 +11,6 @@ union header {
union header *ptr;
size_t size;
enum pic_gc_mark mark;
enum pic_tt tt;
} s;
long alignment[2];
};

View File

@ -674,7 +674,6 @@ pic_obj_alloc_unsafe(pic_state *pic, size_t size, enum pic_tt tt)
}
}
obj->tt = tt;
(((union header *)obj) - 1)->s.tt = tt;
return obj;
}