bytecode: set register type to `REG_PTR` even if not used
[lttng-modules.git] / src / lttng-filter-interpreter.c
index 3273d4a0f284892b6d0188126cf8aea02f3b4234..69db94940d961604f51cae2091a37441cc883ab7 100644 (file)
@@ -429,6 +429,9 @@ static int dynamic_get_index(struct lttng_probe_ctx *lttng_probe_ctx,
                stack_top->u.ptr.field = gid->field;
                break;
        }
+
+       stack_top->type = REG_PTR;
+
        return 0;
 
 end:
This page took 0.022879 seconds and 4 git commands to generate.