diff options
Diffstat (limited to 'src/qml/jsruntime/qv4profiling_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4profiling_p.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qml/jsruntime/qv4profiling_p.h b/src/qml/jsruntime/qv4profiling_p.h index 71a6d34f9d..e7b6909690 100644 --- a/src/qml/jsruntime/qv4profiling_p.h +++ b/src/qml/jsruntime/qv4profiling_p.h @@ -61,7 +61,7 @@ #define Q_V4_PROFILE_ALLOC(engine, size, type) (!engine) #define Q_V4_PROFILE_DEALLOC(engine, size, type) (!engine) -#define Q_V4_PROFILE(engine, function) (function->code(engine, function->codeData)) +#define Q_V4_PROFILE(engine, function) (function->code(function)) QT_BEGIN_NAMESPACE @@ -88,8 +88,8 @@ QT_END_NAMESPACE #define Q_V4_PROFILE(engine, function)\ (Q_UNLIKELY(engine->profiler()) &&\ (engine->profiler()->featuresEnabled & (1 << Profiling::FeatureFunctionCall)) ?\ - Profiling::FunctionCallProfiler::profileCall(engine->profiler(), engine, function) :\ - function->code(function, engine)) + Profiling::FunctionCallProfiler::profileCall(engine->profiler(), function) :\ + function->code(function)) QT_BEGIN_NAMESPACE @@ -279,10 +279,10 @@ public: profiler->m_data.append(FunctionCall(function, startTime, profiler->m_timer.nsecsElapsed())); } - static ReturnedValue profileCall(Profiler *profiler, ExecutionEngine *engine, Function *function) + static ReturnedValue profileCall(Profiler *profiler, Function *function) { FunctionCallProfiler callProfiler(profiler, function); - return function->code(function, engine); + return function->code(function); } Profiler *profiler; |