[Compiler] Support array fields in static objects (#284)

* first part of static inline array fields

* level h
This commit is contained in:
water111
2021-02-25 22:49:46 -05:00
committed by GitHub
parent 791c4abfc0
commit cadd014add
10 changed files with 408 additions and 73 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ StaticObject::LoadInfo StaticStructure::get_load_info() const {
}
int StaticStructure::get_addr_offset() const {
return 0;
return m_offset;
}
void StaticStructure::generate_structure(emitter::ObjectGenerator* gen) {