diff options
Diffstat (limited to 'src/qml/jsruntime/qv4unwindhelper_p-dw2.h')
-rw-r--r-- | src/qml/jsruntime/qv4unwindhelper_p-dw2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4unwindhelper_p-dw2.h b/src/qml/jsruntime/qv4unwindhelper_p-dw2.h index 57615f0999..3a6204f991 100644 --- a/src/qml/jsruntime/qv4unwindhelper_p-dw2.h +++ b/src/qml/jsruntime/qv4unwindhelper_p-dw2.h @@ -48,6 +48,7 @@ #include <wtf/Platform.h> #include <wtf/PageAllocation.h> #include <ExecutableAllocator.h> +#include <private/qv4isel_masm_p.h> #include <QMap> #include <QMutex> @@ -126,13 +127,12 @@ UnwindInfo::~UnwindInfo() static void ensureUnwindInfo(Function *f) { - if (!f->codeRef) + if (!f->code) return; // Not a JIT generated function - JSC::ExecutableMemoryHandle *handle = f->codeRef.executableMemory(); - if (!handle) + ExecutableAllocator::ChunkOfPages *chunk = f->compilationUnit->chunkForFunction(f->compiledFunction->index); + if (!chunk) return; - ExecutableAllocator::ChunkOfPages *chunk = handle->chunk(); // Already registered? if (chunk->unwindInfo) |