diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-04-15 11:50:16 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-04-15 13:03:20 +0200 |
commit | 891f7029457c5135c365ec32c06e7750abaceeab (patch) | |
tree | 0bf15a932ea3176b7b7da2fd6276c00e1da9d9b5 /src/qml/qml/v4vm/qv4unwindhelper_p.h | |
parent | db78a10ea2537141e58740bd179db19183d236e8 (diff) |
Fix compilation with built-in v4vm JS engine
Change-Id: Ieda9267e296acf6392a5461f4cfb9233a7a409a0
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/v4vm/qv4unwindhelper_p.h')
-rw-r--r-- | src/qml/qml/v4vm/qv4unwindhelper_p.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/qml/qml/v4vm/qv4unwindhelper_p.h b/src/qml/qml/v4vm/qv4unwindhelper_p.h new file mode 100644 index 0000000000..9f6462d644 --- /dev/null +++ b/src/qml/qml/v4vm/qv4unwindhelper_p.h @@ -0,0 +1,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 |