summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/dfg/DFGJITFinalizer.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
commit32761a6cee1d0dee366b885b7b9c777e67885688 (patch)
treed6bec92bebfb216f4126356e55518842c2f476a1 /Source/JavaScriptCore/dfg/DFGJITFinalizer.h
parenta4e969f4965059196ca948db781e52f7cfebf19e (diff)
downloadWebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGJITFinalizer.h')
-rw-r--r--Source/JavaScriptCore/dfg/DFGJITFinalizer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGJITFinalizer.h b/Source/JavaScriptCore/dfg/DFGJITFinalizer.h
index 110442fe4..5c7c82b66 100644
--- a/Source/JavaScriptCore/dfg/DFGJITFinalizer.h
+++ b/Source/JavaScriptCore/dfg/DFGJITFinalizer.h
@@ -26,6 +26,8 @@
#ifndef DFGJITFinalizer_h
#define DFGJITFinalizer_h
+#include <wtf/Platform.h>
+
#if ENABLE(DFG_JIT)
#include "DFGFinalizer.h"
@@ -37,10 +39,9 @@ namespace JSC { namespace DFG {
class JITFinalizer : public Finalizer {
public:
- JITFinalizer(Plan&, PassRefPtr<JITCode>, std::unique_ptr<LinkBuffer>, MacroAssemblerCodePtr withArityCheck = MacroAssemblerCodePtr(MacroAssemblerCodePtr::EmptyValue));
+ JITFinalizer(Plan&, PassRefPtr<JITCode>, PassOwnPtr<LinkBuffer>, MacroAssemblerCodePtr withArityCheck = MacroAssemblerCodePtr(MacroAssemblerCodePtr::EmptyValue));
virtual ~JITFinalizer();
- virtual size_t codeSize() override;
virtual bool finalize() override;
virtual bool finalizeFunction() override;
@@ -48,7 +49,7 @@ private:
void finalizeCommon();
RefPtr<JITCode> m_jitCode;
- std::unique_ptr<LinkBuffer> m_linkBuffer;
+ OwnPtr<LinkBuffer> m_linkBuffer;
MacroAssemblerCodePtr m_withArityCheck;
};