summaryrefslogtreecommitdiffhomepage
path: root/asm/chunk.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/chunk.h')
-rw-r--r--asm/chunk.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/asm/chunk.h b/asm/chunk.h
index 43cf54e..fb3f303 100644
--- a/asm/chunk.h
+++ b/asm/chunk.h
@@ -25,12 +25,12 @@ struct AddressFeature
bool relativeAddressing{true};
std::vector<uint8_t> machine_code;
- size_t addr_size;
- size_t addr_offs; ///< offset inside code
+ size_t addr_size{0};
+ size_t addr_offs{0}; ///< offset inside code
std::vector<uint8_t> alternative_code;
- size_t alternative_size;
- size_t alternative_offs; ///< offset inside code
+ size_t alternative_size{0};
+ size_t alternative_offs{0}; ///< offset inside code
};
class Label: public Chunk