From: Francis Deslauriers Date: Tue, 12 May 2020 16:07:50 +0000 (-0400) Subject: bytecode: allow interpreter to return any type X-Git-Url: http://git.efficios.com/?p=deliverable%2Flttng-modules.git;a=commitdiff_plain;h=fd41f36036fcbbca6098c735e805be58c77156eb bytecode: allow interpreter to return any type The bytecode interpreter when used by capture bytecode needs to return types other than an integer or dynamic type. Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers Change-Id: I099749183fbd0622f258f9c38e37fdb167493a0b --- diff --git a/src/lttng-filter-validator.c b/src/lttng-filter-validator.c index 7e308281..3353be2b 100644 --- a/src/lttng-filter-validator.c +++ b/src/lttng-filter-validator.c @@ -1178,6 +1178,9 @@ int exec_insn(struct bytecode_runtime *bytecode, switch (vstack_ax(stack)->type) { case REG_S64: case REG_U64: + case REG_DOUBLE: + case REG_STRING: + case REG_PTR: case REG_TYPE_UNKNOWN: break; default: