summaryrefslogtreecommitdiffstats
path: root/src/v4/qv4context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4/qv4context.cpp')
-rw-r--r--src/v4/qv4context.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/v4/qv4context.cpp b/src/v4/qv4context.cpp
index 51a80f4a..88365f4f 100644
--- a/src/v4/qv4context.cpp
+++ b/src/v4/qv4context.cpp
@@ -542,6 +542,9 @@ void ExecutionContext::initCallContext(ExecutionEngine *engine)
marked = false;
this->engine = engine;
outer = function->scope;
+#ifndef QT_NO_DEBUG
+ assert(outer->next != (ExecutionContext *)0x1);
+#endif
exceptionVarName = 0;
exceptionValue = Value::undefinedValue();