Skip to content

Commit a15e79f

Browse files
committed
Address comments
1 parent 61e88b3 commit a15e79f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/liquid_c/vm.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ static VALUE vm_render_until_error(VALUE uncast_args)
377377
ip += 3;
378378
args->ip = ip;
379379
args->const_ptr = const_ptr;
380+
args->tags_ptr = tags_ptr;
380381
break;
381382
case OP_POP_WRITE:
382383
{
@@ -408,7 +409,8 @@ VALUE liquid_vm_evaluate(VALUE context, vm_assembler_t *code)
408409
vm_render_until_error_args_t args = {
409410
.vm = vm,
410411
.const_ptr = (const size_t *)code->constants.data,
411-
.ip = code->instructions.data
412+
.ip = code->instructions.data,
413+
.tags_ptr = (const VALUE *)code->tags.data
412414
};
413415
vm_render_until_error((VALUE)&args);
414416
VALUE ret = vm_stack_pop(vm);

0 commit comments

Comments
 (0)