From: Mathieu Desnoyers Date: Fri, 13 Jul 2012 23:05:09 +0000 (-0400) Subject: Filter: we don't care if double/s64 are literals X-Git-Tag: v2.1.0-rc1~30 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e6bf7d4452acac456e55c6da3a2c7ea989701d98;p=lttng-ust.git Filter: we don't care if double/s64 are literals Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/lttng-filter.c b/liblttng-ust/lttng-filter.c index dffcca5f..2b24f9d3 100644 --- a/liblttng-ust/lttng-filter.c +++ b/liblttng-ust/lttng-filter.c @@ -768,7 +768,6 @@ int lttng_filter_interpret_bytecode(void *filter_data, memcpy(®[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(®[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;