diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-04-27 12:07:15 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-05-02 14:20:43 +0000 |
commit | 7ab47893a5647ecd2fc12e9e4e7504969b4185bb (patch) | |
tree | 1419ca0eb4c90c5148d3858bfde56cfe1f4eaed4 /src/qml/jsruntime/qv4vme_moth_p.h | |
parent | 481f69ef2b507454e15a2354a7b6e85d671ee793 (diff) |
Move interpreter loop into it's own function
This will be required to make Generators work properly
Change-Id: I1262d8694674ea3436f496fae30668a939327ab7
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4vme_moth_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4vme_moth_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4vme_moth_p.h b/src/qml/jsruntime/qv4vme_moth_p.h index 3b7723ca7e..737ff3f519 100644 --- a/src/qml/jsruntime/qv4vme_moth_p.h +++ b/src/qml/jsruntime/qv4vme_moth_p.h @@ -72,6 +72,7 @@ public: return exec(reinterpret_cast<const FunctionObject *>(d), thisObject, argv, argc); } static QV4::ReturnedValue exec(const FunctionObject *fo, const Value *thisObject, const Value *argv, int argc); + static QV4::ReturnedValue interpret(CppStackFrame &frame, const uchar *codeEntry); }; } // namespace Moth |