Resetting the builder arena. May be a bug or two here still.
This commit is contained in:
@@ -69,9 +69,12 @@ int IVMAssembler::Assemble(
|
||||
ctx.scratch_arena = &scratch_arena_;
|
||||
ctx.label_ref_head = NULL;
|
||||
|
||||
// Reset label tags as we use them.
|
||||
builder->ResetLabelTags();
|
||||
|
||||
// Function prologue.
|
||||
|
||||
Block* block = builder->first_block();
|
||||
auto block = builder->first_block();
|
||||
while (block) {
|
||||
Label* label = block->label_head;
|
||||
while (label) {
|
||||
|
||||
Reference in New Issue
Block a user