aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4scopedvalue_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-08-09 17:14:11 +0200
committerLars Knoll <lars.knoll@qt.io>2017-08-10 08:20:15 +0000
commit4acb72bf35e736f222c90e49b3e84e20355d33a7 (patch)
tree47980e17c8d9b0d7349fe0291872c1e4d7663ecc /src/qml/jsruntime/qv4scopedvalue_p.h
parentb459c43c5d119507f888ac9ab1ca96f8e7bb6e34 (diff)
Cleanup naming of Stack frame structures
Change-Id: I0b392040b6726e6d93f237ccccc9f053256ed819 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4scopedvalue_p.h')
-rw-r--r--src/qml/jsruntime/qv4scopedvalue_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4scopedvalue_p.h b/src/qml/jsruntime/qv4scopedvalue_p.h
index 26b15838f3..b21f23c34e 100644
--- a/src/qml/jsruntime/qv4scopedvalue_p.h
+++ b/src/qml/jsruntime/qv4scopedvalue_p.h
@@ -373,7 +373,7 @@ struct ScopedCallData {
struct ScopedStackFrame {
Scope &scope;
- EngineBase::StackFrame frame;
+ CppStackFrame frame;
ScopedStackFrame(Scope &scope, Heap::ExecutionContext *context)
: scope(scope)
@@ -381,7 +381,7 @@ struct ScopedStackFrame {
frame.parent = scope.engine->currentStackFrame;
if (!context)
return;
- frame.jsFrame = reinterpret_cast<EngineBase::JSStackFrame *>(scope.alloc(sizeof(EngineBase::JSStackFrame)/sizeof(Value)));
+ frame.jsFrame = reinterpret_cast<JSStackFrame *>(scope.alloc(sizeof(JSStackFrame)/sizeof(Value)));
frame.jsFrame->context = context;
frame.v4Function = frame.parent ? frame.parent->v4Function : 0;
scope.engine->currentStackFrame = &frame;