Filter: double comparator produces s64
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 16 Jul 2012 19:57:38 +0000 (15:57 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 16 Jul 2012 19:57:38 +0000 (15:57 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-filter-validator.c

index b164cbbfc421d3c555a3b61c08bb81c6692a9a29..0f7d8bf8f3c5335c2a086a95dad5204a9210925d 100644 (file)
@@ -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;
        }
This page took 0.026137 seconds and 4 git commands to generate.