From dca09eabc445534e3ec180ac3fbd544fe83db5f3 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 16 Jul 2012 15:57:38 -0400 Subject: [PATCH] Filter: double comparator produces s64 Signed-off-by: Mathieu Desnoyers --- liblttng-ust/lttng-filter-validator.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/liblttng-ust/lttng-filter-validator.c b/liblttng-ust/lttng-filter-validator.c index b164cbbf..0f7d8bf8 100644 --- a/liblttng-ust/lttng-filter-validator.c +++ b/liblttng-ust/lttng-filter-validator.c @@ -813,12 +813,6 @@ int exec_insn(struct bytecode_runtime *bytecode, case FILTER_OP_LT_S64: case FILTER_OP_GE_S64: case FILTER_OP_LE_S64: - { - reg[REG_R0].type = REG_S64; - next_pc += sizeof(struct binary_op); - break; - } - case FILTER_OP_EQ_DOUBLE: case FILTER_OP_NE_DOUBLE: case FILTER_OP_GT_DOUBLE: @@ -826,7 +820,7 @@ int exec_insn(struct bytecode_runtime *bytecode, case FILTER_OP_GE_DOUBLE: case FILTER_OP_LE_DOUBLE: { - reg[REG_R0].type = REG_DOUBLE; + reg[REG_R0].type = REG_S64; next_pc += sizeof(struct binary_op); break; } -- 2.34.1