aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4jsir_p.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2014-04-25 15:29:22 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-21 16:35:12 +0200
commit666f20523cd7be16d88d3c03252ed2fd6e4be0c4 (patch)
treec629c25fcea1ba5a622702ac9ef37bd00ed38aad /src/qml/compiler/qv4jsir_p.h
parentf238e6e6447e7400e487e4eca20ffd9a062b7119 (diff)
V4: replace debug macro by compile time constant.
By having all code "enabled" all the time, it will be checked by the compiler and visible for refactoring. The compiler will optimize it away when debugging is turned off. Also fixes the code where previous refactoring changes were not applied. Change-Id: I634ac85570125b533adce93ca347c4be3d60aa83 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4jsir_p.h')
-rw-r--r--src/qml/compiler/qv4jsir_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4jsir_p.h b/src/qml/compiler/qv4jsir_p.h
index 6bb068cb29..2940fd50f4 100644
--- a/src/qml/compiler/qv4jsir_p.h
+++ b/src/qml/compiler/qv4jsir_p.h
@@ -1076,6 +1076,7 @@ public:
void print(Stmt *s);
void print(Expr *e);
+ void print(const Expr &e);
virtual void print(Function *f);
virtual void print(BasicBlock *bb);