summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/dfg/DFGDesiredWeakReferences.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGDesiredWeakReferences.h')
-rw-r--r--Source/JavaScriptCore/dfg/DFGDesiredWeakReferences.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGDesiredWeakReferences.h b/Source/JavaScriptCore/dfg/DFGDesiredWeakReferences.h
index 303b8df2a..981e752ea 100644
--- a/Source/JavaScriptCore/dfg/DFGDesiredWeakReferences.h
+++ b/Source/JavaScriptCore/dfg/DFGDesiredWeakReferences.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013-2015 Apple Inc. All rights reserved.
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -26,7 +26,7 @@
#ifndef DFGDesiredWeakReferences_h
#define DFGDesiredWeakReferences_h
-#include <wtf/HashSet.h>
+#include <wtf/Vector.h>
#if ENABLE(DFG_JIT)
@@ -34,8 +34,6 @@ namespace JSC {
class CodeBlock;
class JSCell;
-class JSValue;
-class SlotVisitor;
class VM;
namespace DFG {
@@ -44,21 +42,15 @@ class CommonData;
class DesiredWeakReferences {
public:
- DesiredWeakReferences();
DesiredWeakReferences(CodeBlock*);
~DesiredWeakReferences();
void addLazily(JSCell*);
- void addLazily(JSValue);
- bool contains(JSCell*);
-
void reallyAdd(VM&, CommonData*);
-
- void visitChildren(SlotVisitor&);
private:
CodeBlock* m_codeBlock;
- HashSet<JSCell*> m_references;
+ Vector<JSCell*> m_references;
};
} } // namespace JSC::DFG