[Code] Make union usage more consistent
This commit is contained in:
@@ -422,15 +422,15 @@ union ControlFlowInstruction {
|
||||
ControlFlowCondJmpInstruction cond_jmp; // kCondJmp
|
||||
ControlFlowAllocInstruction alloc; // kAlloc
|
||||
|
||||
struct {
|
||||
uint32_t dword_0;
|
||||
uint32_t dword_1;
|
||||
};
|
||||
struct {
|
||||
uint32_t unused_0 : 32;
|
||||
uint32_t unused_1 : 12;
|
||||
ControlFlowOpcode opcode_value : 4;
|
||||
};
|
||||
struct {
|
||||
uint32_t dword_0;
|
||||
uint32_t dword_1;
|
||||
};
|
||||
};
|
||||
static_assert_size(ControlFlowInstruction, sizeof(uint32_t) * 2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user