LibJS+LibJIT: Fix GCC build

This commit is contained in:
Andreas Kling 2023-10-27 11:50:37 +02:00
commit 8c745ca223
Notes: sideshowbarker 2024-07-17 01:46:00 +09:00
2 changed files with 5 additions and 2 deletions

View file

@ -228,7 +228,10 @@ struct Assembler {
[[nodiscard]] Label make_label()
{
return { .offset_of_label_in_instruction_stream = m_output.size() };
return Label {
.offset_of_label_in_instruction_stream = m_output.size(),
.jump_slot_offsets_in_instruction_stream = {},
};
}
[[nodiscard]] Label jump()