aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4executablecompilationunit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4executablecompilationunit.cpp')
-rw-r--r--src/qml/jsruntime/qv4executablecompilationunit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4executablecompilationunit.cpp b/src/qml/jsruntime/qv4executablecompilationunit.cpp
index 34d737cdae..5e9361a066 100644
--- a/src/qml/jsruntime/qv4executablecompilationunit.cpp
+++ b/src/qml/jsruntime/qv4executablecompilationunit.cpp
@@ -74,7 +74,7 @@ void ExecutableCompilationUnit::populate()
{
/* In general, we should use QV4::Scope whenever we allocate heap objects, and employ write barriers
for member variables pointing to heap objects. However, ExecutableCompilationUnit is special, as it
- is always part of the root set. So instead of using scopde allocations and write barriers, we use a
+ is always part of the root set. So instead of using scoped allocations and write barriers, we use a
slightly different approach: We temporarily block the gc from running. Afterwards, at the end of the
function we check whether the gc was already running, and mark the ExecutableCompilationUnit. This
ensures that all the newly allocated objects of the compilation unit will be marked in turn.