aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4debugging.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-08-14 16:02:56 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-08-15 09:11:36 +0200
commit3e49617bc6dddcc7a053d0ec643c8994d84a8c5e (patch)
treead9c22ca9d8c11b7dc0310973455b2b20c31edc1 /src/qml/jsruntime/qv4debugging.cpp
parent83a975ae1ccc3eec52c859b8665319b7a096fc37 (diff)
Move QV4::Function::sourceFile to CompiledFunction
Change-Id: Iacf907c475070bab4a5a1583280f110c089141c4 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4debugging.cpp')
-rw-r--r--src/qml/jsruntime/qv4debugging.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4debugging.cpp b/src/qml/jsruntime/qv4debugging.cpp
index 1b182eac89..5965af8cfd 100644
--- a/src/qml/jsruntime/qv4debugging.cpp
+++ b/src/qml/jsruntime/qv4debugging.cpp
@@ -130,7 +130,7 @@ Debugger::ExecutionState Debugger::currentExecutionState(const uchar *code) cons
}
state.function = function;
- state.fileName = function->sourceFile;
+ state.fileName = function->sourceFile();
qptrdiff relativeProgramCounter = code - function->codeData;
state.lineNumber = function->lineNumberForProgramCounter(relativeProgramCounter);
@@ -343,7 +343,7 @@ bool Debugger::BreakPoints::contains(const QString &fileName, int lineNumber) co
void Debugger::BreakPoints::applyToFunction(Function *function, bool removeBreakPoints)
{
- Iterator breakPointsForFile = find(function->sourceFile);
+ Iterator breakPointsForFile = find(function->sourceFile());
if (breakPointsForFile == end())
return;