From b87eb898534074acb83ccb6401a398119df6809a Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 23 Oct 2013 14:01:56 +0200 Subject: [PATCH] This is not allowed --- ast.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ast.c b/ast.c index dbd23f1..a0a7f6c 100644 --- a/ast.c +++ b/ast.c @@ -450,11 +450,6 @@ ast_binary* ast_binary_new(lex_ctx_t ctx, int op, ast_propagate_effects(self, left); ast_propagate_effects(self, right); - if (OPTS_OPTIMIZATION(OPTIM_PEEPHOLE) && (fold = (ast_binary*)fold_superfluous(left, right, op))) { - ast_binary_delete(self); - return fold; - } - if (op >= INSTR_EQ_F && op <= INSTR_GT) self->expression.vtype = TYPE_FLOAT; else if (op == INSTR_AND || op == INSTR_OR) { -- 2.39.2