aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4executableallocator_p.h
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2018-06-06 14:12:23 +1000
committerLorn Potter <lorn.potter@gmail.com>2018-06-07 04:19:15 +0000
commit26bd1cb9d24b186c5361e59d4c448bfa93ef740f (patch)
tree8d6a4bf3e62b4e246db1f140c0c2e66e23846568 /src/qml/jsruntime/qv4executableallocator_p.h
parent6c75a6589f45d60c27ca52ba951266632e0c1cae (diff)
wasm: cleanup code, remove obsolete code
Change-Id: I54f406d803fa6d458ae53a78abb8c99dc76aab92 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4executableallocator_p.h')
-rw-r--r--src/qml/jsruntime/qv4executableallocator_p.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qml/jsruntime/qv4executableallocator_p.h b/src/qml/jsruntime/qv4executableallocator_p.h
index 19eaed8723..375c9a365f 100644
--- a/src/qml/jsruntime/qv4executableallocator_p.h
+++ b/src/qml/jsruntime/qv4executableallocator_p.h
@@ -100,14 +100,9 @@ public:
bool mergeNext(ExecutableAllocator *allocator);
bool mergePrevious(ExecutableAllocator *allocator);
-#ifndef QT_NO_BITFIELDS
quintptr addr = 0;
uint size : 31; // More than 2GB of function code? nah :)
uint free : 1;
-#else
- uint size = 31; // More than 2GB of function code? nah :)
- uint free = 1;
-#endif
Allocation *next = nullptr;
Allocation *prev = nullptr;
};