diff options
Diffstat (limited to 'src/qml/jsruntime/qv4enginebase_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4enginebase_p.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4enginebase_p.h b/src/qml/jsruntime/qv4enginebase_p.h index cc049fb296..a713e8eab4 100644 --- a/src/qml/jsruntime/qv4enginebase_p.h +++ b/src/qml/jsruntime/qv4enginebase_p.h @@ -63,9 +63,17 @@ namespace QV4 { #pragma pack(push, 1) #endif struct EngineBase { + struct JSStackFrame { + // callData is directly before this + QV4::Value jsFunction; + QV4::Value context; + // registers follow + }; + struct StackFrame { StackFrame *parent; Function *v4Function; + JSStackFrame *jsFrame; int line = -1; int column = -1; |