diff options
Diffstat (limited to 'Source/JavaScriptCore/assembler/AssemblerBuffer.h')
-rw-r--r-- | Source/JavaScriptCore/assembler/AssemblerBuffer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/JavaScriptCore/assembler/AssemblerBuffer.h b/Source/JavaScriptCore/assembler/AssemblerBuffer.h index 6bc1b3924..d82c0b946 100644 --- a/Source/JavaScriptCore/assembler/AssemblerBuffer.h +++ b/Source/JavaScriptCore/assembler/AssemblerBuffer.h @@ -30,7 +30,7 @@ #include "ExecutableAllocator.h" #include "JITCompilationEffort.h" -#include "JSGlobalData.h" +#include "VM.h" #include "stdint.h" #include <string.h> #include <wtf/Assertions.h> @@ -130,12 +130,12 @@ namespace JSC { return AssemblerLabel(m_index); } - PassRefPtr<ExecutableMemoryHandle> executableCopy(JSGlobalData& globalData, void* ownerUID, JITCompilationEffort effort) + PassRefPtr<ExecutableMemoryHandle> executableCopy(VM& vm, void* ownerUID, JITCompilationEffort effort) { if (!m_index) return 0; - RefPtr<ExecutableMemoryHandle> result = globalData.executableAllocator.allocate(globalData, m_index, ownerUID, effort); + RefPtr<ExecutableMemoryHandle> result = vm.executableAllocator.allocate(vm, m_index, ownerUID, effort); if (!result) return 0; @@ -168,7 +168,7 @@ namespace JSC { } private: - Vector<char, inlineCapacity> m_storage; + Vector<char, inlineCapacity, UnsafeVectorOverflow> m_storage; char* m_buffer; int m_capacity; int m_index; |