Filter: we don't care if double/s64 are literals
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 13 Jul 2012 23:05:09 +0000 (19:05 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 13 Jul 2012 23:05:09 +0000 (19:05 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-filter.c

index dffcca5fafaf41bb249f2292e315cb6fe3287692..2b24f9d306253eddb6074a7b7d9a616959f56ecc 100644 (file)
@@ -768,7 +768,6 @@ int lttng_filter_interpret_bytecode(void *filter_data,
                        memcpy(&reg[insn->reg].v, &filter_stack_data[ref->offset],
                                sizeof(struct literal_numeric));
                        reg[insn->reg].type = REG_S64;
-                       reg[insn->reg].literal = 0;
                        dbg_printf("ref load s64 %" PRIi64 "\n", reg[insn->reg].v);
                        next_pc += sizeof(struct load_op) + sizeof(struct field_ref);
                        PO;
@@ -784,7 +783,6 @@ int lttng_filter_interpret_bytecode(void *filter_data,
                        memcpy(&reg[insn->reg].d, &filter_stack_data[ref->offset],
                                sizeof(struct literal_double));
                        reg[insn->reg].type = REG_DOUBLE;
-                       reg[insn->reg].literal = 0;
                        dbg_printf("ref load double %g\n", reg[insn->reg].d);
                        next_pc += sizeof(struct load_op) + sizeof(struct field_ref);
                        PO;
@@ -811,7 +809,6 @@ int lttng_filter_interpret_bytecode(void *filter_data,
                                sizeof(struct literal_numeric));
                        dbg_printf("load s64 %" PRIi64 "\n", reg[insn->reg].v);
                        reg[insn->reg].type = REG_S64;
-                       reg[insn->reg].literal = 1;
                        next_pc += sizeof(struct load_op)
                                        + sizeof(struct literal_numeric);
                        PO;
@@ -825,7 +822,6 @@ int lttng_filter_interpret_bytecode(void *filter_data,
                                sizeof(struct literal_double));
                        dbg_printf("load s64 %g\n", reg[insn->reg].d);
                        reg[insn->reg].type = REG_DOUBLE;
-                       reg[insn->reg].literal = 1;
                        next_pc += sizeof(struct load_op)
                                        + sizeof(struct literal_double);
                        PO;
This page took 0.034644 seconds and 4 git commands to generate.