summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/bytecode/InlineCallFrameSet.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/bytecode/InlineCallFrameSet.h')
-rw-r--r--Source/JavaScriptCore/bytecode/InlineCallFrameSet.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/JavaScriptCore/bytecode/InlineCallFrameSet.h b/Source/JavaScriptCore/bytecode/InlineCallFrameSet.h
index 0a8b2e79c..6dae56db9 100644
--- a/Source/JavaScriptCore/bytecode/InlineCallFrameSet.h
+++ b/Source/JavaScriptCore/bytecode/InlineCallFrameSet.h
@@ -28,12 +28,11 @@
#include "CodeOrigin.h"
#include <wtf/Bag.h>
-#include <wtf/Noncopyable.h>
+#include <wtf/RefCounted.h>
namespace JSC {
-class InlineCallFrameSet {
- WTF_MAKE_NONCOPYABLE(InlineCallFrameSet);
+class InlineCallFrameSet : public RefCounted<InlineCallFrameSet> {
public:
InlineCallFrameSet();
~InlineCallFrameSet();
@@ -45,7 +44,7 @@ public:
typedef Bag<InlineCallFrame>::iterator iterator;
iterator begin() { return m_frames.begin(); }
iterator end() { return m_frames.end(); }
-
+
private:
Bag<InlineCallFrame> m_frames;
};