diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2017-07-26 11:34:25 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2017-08-02 13:56:58 +0000 |
commit | 20e1f2a66b2e7418c9fe2954daa1610529134044 (patch) | |
tree | 3f27e5f9600da1cfafc3708f72c15d78696eb351 /src/qml/jsruntime/qv4runtime_p.h | |
parent | 87faecf5e0358067803c6dab63530aef5fcbbb36 (diff) |
Fix trace macros for runtime counters
Change-Id: I44e55350c20cb10cfb2fd58a46c5c620b71a7017
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4runtime_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4runtime_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4runtime_p.h b/src/qml/jsruntime/qv4runtime_p.h index 0d787714cf..ed9f65056a 100644 --- a/src/qml/jsruntime/qv4runtime_p.h +++ b/src/qml/jsruntime/qv4runtime_p.h @@ -83,8 +83,8 @@ private: }; # define TRACE0() RuntimeCounters::instance->count(Q_FUNC_INFO); -# define TRACE1(x) RuntimeCounters::instance->count(Q_FUNC_INFO, x->type()); -# define TRACE2(x, y) RuntimeCounters::instance->count(Q_FUNC_INFO, x->type(), y->type()); +# define TRACE1(x) RuntimeCounters::instance->count(Q_FUNC_INFO, x.type()); +# define TRACE2(x, y) RuntimeCounters::instance->count(Q_FUNC_INFO, x.type(), y.type()); #else # define TRACE0() # define TRACE1(x) |