support type-ref (#613)

This commit is contained in:
water111
2021-06-20 12:59:39 -04:00
committed by GitHub
parent adcb9fad55
commit 4f8403d8e6
16 changed files with 192 additions and 29 deletions
+1 -1
View File
@@ -458,7 +458,7 @@ void ObjectGenerator::emit_link_type_pointer(int seg, const TypeSystem* ts) {
out.push_back(0);
// method count
out.push_back(ts->get_next_method_id(ts->lookup_type(rec.first)));
out.push_back(ts->get_type_method_count(rec.first));
// number of links
push_data<u32>(size, out);