summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/debugger/Breakpoint.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2015-05-20 09:56:07 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2015-05-20 09:56:07 +0000
commit41386e9cb918eed93b3f13648cbef387e371e451 (patch)
treea97f9d7bd1d9d091833286085f72da9d83fd0606 /Source/JavaScriptCore/debugger/Breakpoint.h
parente15dd966d523731101f70ccf768bba12435a0208 (diff)
downloadWebKitGtk-tarball-41386e9cb918eed93b3f13648cbef387e371e451.tar.gz
webkitgtk-2.4.9webkitgtk-2.4.9
Diffstat (limited to 'Source/JavaScriptCore/debugger/Breakpoint.h')
-rw-r--r--Source/JavaScriptCore/debugger/Breakpoint.h34
1 files changed, 2 insertions, 32 deletions
diff --git a/Source/JavaScriptCore/debugger/Breakpoint.h b/Source/JavaScriptCore/debugger/Breakpoint.h
index 8518ce469..95b92881d 100644
--- a/Source/JavaScriptCore/debugger/Breakpoint.h
+++ b/Source/JavaScriptCore/debugger/Breakpoint.h
@@ -27,13 +27,11 @@
#define Breakpoint_h
#include "DebuggerPrimitives.h"
-#include <wtf/DoublyLinkedList.h>
-#include <wtf/RefCounted.h>
#include <wtf/text/WTFString.h>
namespace JSC {
-struct Breakpoint : public DoublyLinkedListNode<Breakpoint> {
+struct Breakpoint {
Breakpoint()
: id(noBreakpointID)
, sourceID(noSourceID)
@@ -43,7 +41,7 @@ struct Breakpoint : public DoublyLinkedListNode<Breakpoint> {
{
}
- Breakpoint(SourceID sourceID, unsigned line, unsigned column, const String& condition, bool autoContinue)
+ Breakpoint(SourceID sourceID, unsigned line, unsigned column, String condition, bool autoContinue)
: id(noBreakpointID)
, sourceID(sourceID)
, line(line)
@@ -53,16 +51,6 @@ struct Breakpoint : public DoublyLinkedListNode<Breakpoint> {
{
}
- Breakpoint(const Breakpoint& other)
- : id(other.id)
- , sourceID(other.sourceID)
- , line(other.line)
- , column(other.column)
- , condition(other.condition)
- , autoContinue(other.autoContinue)
- {
- }
-
BreakpointID id;
SourceID sourceID;
unsigned line;
@@ -71,24 +59,6 @@ struct Breakpoint : public DoublyLinkedListNode<Breakpoint> {
bool autoContinue;
static const unsigned unspecifiedColumn = UINT_MAX;
-
-private:
- Breakpoint* m_prev;
- Breakpoint* m_next;
-
- friend class WTF::DoublyLinkedListNode<Breakpoint>;
-};
-
-class BreakpointsList : public DoublyLinkedList<Breakpoint>,
- public RefCounted<BreakpointsList> {
-public:
- ~BreakpointsList()
- {
- Breakpoint* breakpoint;
- while ((breakpoint = removeHead()))
- delete breakpoint;
- ASSERT(isEmpty());
- }
};
} // namespace JSC