diff options
Diffstat (limited to 'src/qml/jsruntime/qv4executableallocator_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4executableallocator_p.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4executableallocator_p.h b/src/qml/jsruntime/qv4executableallocator_p.h index f98f2c7d33..4735fb151f 100644 --- a/src/qml/jsruntime/qv4executableallocator_p.h +++ b/src/qml/jsruntime/qv4executableallocator_p.h @@ -86,8 +86,14 @@ public: , free(true) {} - void *exceptionHandler() const; - void *start() const; + void *memoryStart() const; + size_t memorySize() const { return size; } + + void *exceptionHandlerStart() const; + size_t exceptionHandlerSize() const; + + void *codeStart() const; + void invalidate() { addr = 0; } bool isValid() const { return addr != 0; } void deallocate(ExecutableAllocator *allocator); |