diff options
Diffstat (limited to 'src/qml/jsruntime/qv4vme_moth_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4vme_moth_p.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/qml/jsruntime/qv4vme_moth_p.h b/src/qml/jsruntime/qv4vme_moth_p.h index 8d46207f2b..4ac7120d36 100644 --- a/src/qml/jsruntime/qv4vme_moth_p.h +++ b/src/qml/jsruntime/qv4vme_moth_p.h @@ -52,23 +52,23 @@ // #include <private/qv4global_p.h> -#include <private/qv4runtime_p.h> -#include <private/qv4instr_moth_p.h> - -QT_REQUIRE_CONFIG(qml_interpreter); QT_BEGIN_NAMESPACE namespace QV4 { namespace Moth { +void runTracingJit(QV4::Function *function); + class VME { public: - static QV4::ReturnedValue exec(QV4::ExecutionEngine *, const uchar *); - -private: - QV4::ReturnedValue run(QV4::ExecutionEngine *, const uchar *code); + struct ExecData { + QV4::Function *function; + const QV4::ExecutionContext *scope; + }; + static QV4::ReturnedValue exec(CppStackFrame *frame, ExecutionEngine *engine); + static QV4::ReturnedValue interpret(CppStackFrame *frame, ExecutionEngine *engine, const char *codeEntry); }; } // namespace Moth |