aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/masm/stubs/JSGlobalData.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/masm/stubs/JSGlobalData.h')
-rw-r--r--src/3rdparty/masm/stubs/JSGlobalData.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/3rdparty/masm/stubs/JSGlobalData.h b/src/3rdparty/masm/stubs/JSGlobalData.h
index 112bedddd7..281a64de83 100644
--- a/src/3rdparty/masm/stubs/JSGlobalData.h
+++ b/src/3rdparty/masm/stubs/JSGlobalData.h
@@ -44,10 +44,19 @@
#include "ExecutableAllocator.h"
#include "WeakRandom.h"
+namespace QQmlJS {
+namespace VM {
+class ExecutableAllocator;
+}
+}
+
namespace JSC {
class JSGlobalData {
public:
+ JSGlobalData(QQmlJS::VM::ExecutableAllocator *realAllocator)
+ : executableAllocator(realAllocator)
+ {}
ExecutableAllocator executableAllocator;
};