backend.native, runtime: add vtable to TypeInfo

This commit is contained in:
Svyatoslav Scherbina
2016-10-04 13:55:03 +03:00
parent 473816ea81
commit 3324527984
3 changed files with 39 additions and 3 deletions
+1
View File
@@ -29,6 +29,7 @@ struct TypeInfo {
int objOffsetsCount;
TypeInfo* const* implementedInterfaces;
int implementedInterfacesCount;
void* const* vtable; // TODO: place vtable at the end of TypeInfo to eliminate the indirection
const MethodTableRecord* methods;
int methodsCount;
const FieldTableRecord* fields;