aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/v4vm/qv4unwindhelper_p.h
blob: 9f6462d644a5cc8125f1085df08d3cc73d6e0906 (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
#ifndef QV4UNWINDHELPER_H
#define QV4UNWINDHELPER_H

#include <QtCore/QVector>

namespace QQmlJS {
namespace VM {

struct Function;

class UnwindHelper
{
public:
    static void registerFunction(Function *function);
    static void registerFunctions(QVector<Function *> functions);
    static void deregisterFunction(Function *function);
    static void deregisterFunctions(QVector<Function *> functions);
#ifdef Q_PROCESSOR_ARM
    static int unwindInfoSize();
    static void writeARMUnwindInfo(void *codeAddr, int codeSize);
#endif
};

} // VM namespace
} // QQmlJS namespace

#endif // QV4UNWINDHELPER_H