diff options
author | Shawn Rutledge <[email protected]> | 2022-06-09 21:23:04 +0200 |
---|---|---|
committer | Shawn Rutledge <[email protected]> | 2022-06-10 21:13:45 +0000 |
commit | 2b64cb61ba4993049efe7b6c2608c90a05fcc22c (patch) | |
tree | 06c19074d157809d20acd46a0f75eb8ed469fa8e /src/qml/jsruntime | |
parent | b3940d0f9eb037d98c9b281ddb20adde4ab26ebf (diff) |
Fix the build with tracing enabled
line() and column() are functions to be called, not variables.
Pick-to: 6.2 6.3 6.4
Task-number: QTBUG-102862
Change-Id: I0d447f1b3723efbcac7180c5253fd1ac2bd295ad
Reviewed-by: Fabian Kosmale <[email protected]>
Diffstat (limited to 'src/qml/jsruntime')
-rw-r--r-- | src/qml/jsruntime/qv4vme_moth.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4vme_moth.cpp b/src/qml/jsruntime/qv4vme_moth.cpp index d161ed53a2..980aadd509 100644 --- a/src/qml/jsruntime/qv4vme_moth.cpp +++ b/src/qml/jsruntime/qv4vme_moth.cpp @@ -442,8 +442,8 @@ void VME::exec(MetaTypesStackFrame *frame, ExecutionEngine *engine) Q_ASSERT(function->aotFunction); Q_TRACE_SCOPE(QQmlV4_function_call, engine, function->name()->toQString(), function->executableCompilationUnit()->fileName(), - function->compiledFunction->location.line, - function->compiledFunction->location.column); + function->compiledFunction->location.line(), + function->compiledFunction->location.column()); Profiling::FunctionCallProfiler profiler(engine, function); // start execution profiling const qsizetype numFunctionArguments = function->aotFunction->argumentTypes.size(); @@ -534,8 +534,8 @@ ReturnedValue VME::exec(JSTypesStackFrame *frame, ExecutionEngine *engine) Function *function = frame->v4Function; Q_TRACE_SCOPE(QQmlV4_function_call, engine, function->name()->toQString(), function->executableCompilationUnit()->fileName(), - function->compiledFunction->location.line, - function->compiledFunction->location.column); + function->compiledFunction->location.line(), + function->compiledFunction->location.column()); Profiling::FunctionCallProfiler profiler(engine, function); // start execution profiling QV4::Debugging::Debugger *debugger = engine->debugger(); |