blob: 3279bc3dd02e16e60ddce0093cb8d5a5ebaf6d7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#ifndef QV4VME_MOTH_P_H
#define QV4VME_MOTH_P_H
#include <private/qv4runtime_p.h>
#include "qv4instr_moth_p.h"
namespace QV4 {
struct Value;
}
namespace QQmlJS {
namespace Moth {
class VME
{
public:
static QV4::Value exec(QV4::ExecutionContext *, const uchar *);
#ifdef MOTH_THREADED_INTERPRETER
static void **instructionJumpTable();
#endif
private:
QV4::Value run(QV4::ExecutionContext *, const uchar *&code,
QV4::Value *stack = 0, unsigned stackSize = 0
#ifdef MOTH_THREADED_INTERPRETER
, void ***storeJumpTable = 0
#endif
);
};
} // namespace Moth
} // namespace QQmlJS
#endif // QV4VME_MOTH_P_H
|