WeakArray.st
changeset 24184 febe164c1f24
parent 23571 4aa9bc1a2076
child 24622 031078d2cdba
--- a/WeakArray.st	Mon May 27 15:04:41 2019 +0200
+++ b/WeakArray.st	Mon May 27 15:04:51 2019 +0200
@@ -358,6 +358,15 @@
 
 !WeakArray methodsFor:'copying'!
 
+skipInstvarIndexInDeepCopy:index
+    "a helper for deepCopy; only indices for which this method returns
+     false are copied in a deep copy."
+
+    ^ index == 1    "/ skip dependents
+! !
+
+!WeakArray methodsFor:'copying-private'!
+
 postCopy
     "copying alone does not really help - we have to tell
      the VM, that there is a new WeakArray around ...
@@ -370,13 +379,6 @@
 postDeepCopy
     dependents := nil.
     self registerAsWeakArray.
-!
-
-skipInstvarIndexInDeepCopy:index
-    "a helper for deepCopy; only indices for which this method returns
-     false are copied in a deep copy."
-
-    ^ index == 1    "/ skip dependents
 ! !
 
 !WeakArray methodsFor:'dependents access'!