From: Mathieu Desnoyers Date: Mon, 16 Jul 2012 19:57:38 +0000 (-0400) Subject: Filter: double comparator produces s64 X-Git-Tag: v2.1.0-rc1~23 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=dca09eabc445534e3ec180ac3fbd544fe83db5f3;p=lttng-ust.git Filter: double comparator produces s64 Signed-off-by: Mathieu Desnoyers --- 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; }