Change-Id: I7ac1cea7dc59ca2fa9c25cc8244c26a95a650448
This commit is contained in:
Felix Raimundo
2016-04-01 11:18:39 +02:00
parent a218fcfe9a
commit b0c44dc39e
3 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ HOSTCC = gcc
SFLAGS += -Ilib -I.
# Flags - Building options
SFLAGS += -Wall -Werror
SFLAGS += -Wall
# Flags - Optimizations
ifeq ($(DEBUG),1)

View File

@@ -38,7 +38,6 @@ Expression * Expression::simplify() {
const Simplification * simplification = (simplifications + i); // Pointer arithmetics
Expression * simplified = simplification->simplify(result);
if (simplified != nullptr) {
std::cout << "simplification " << i << " returned a non null pointer" << std::endl;
PRINT_AST(simplified);
simplification_pass_was_useful = true;
if (result != this) {

View File

@@ -15,6 +15,7 @@ public:
Any,
Type,
Wildcard,
TypeAndValue,
};
ExpressionSelector * child(int i);
/* The match function is interesting