X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/1df5f87f1309a8daa30dabdee855f48ae40d14ab..6fe7ccc865dc7d7541b93c5bcaf6368d2c98a174:/assembler/AssemblerBufferWithConstantPool.h diff --git a/assembler/AssemblerBufferWithConstantPool.h b/assembler/AssemblerBufferWithConstantPool.h index cd9ff9c..e2ea261 100644 --- a/assembler/AssemblerBufferWithConstantPool.h +++ b/assembler/AssemblerBufferWithConstantPool.h @@ -83,7 +83,7 @@ namespace JSC { */ template -class AssemblerBufferWithConstantPool: public AssemblerBuffer { +class AssemblerBufferWithConstantPool : public AssemblerBuffer { typedef SegmentedVector LoadOffsets; using AssemblerBuffer::putIntegral; using AssemblerBuffer::putIntegralUnchecked; @@ -195,10 +195,10 @@ public: putIntegralUnchecked(value.low); } - void* executableCopy(JSGlobalData& globalData, ExecutablePool* allocator) + PassRefPtr executableCopy(JSGlobalData& globalData, void* ownerUID, JITCompilationEffort effort) { flushConstantPool(false); - return AssemblerBuffer::executableCopy(globalData, allocator); + return AssemblerBuffer::executableCopy(globalData, ownerUID, effort); } void putShortWithConstantInt(uint16_t insn, uint32_t constant, bool isReusable = false)