File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
src/library/scala/collection/immutable Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -1156,8 +1156,6 @@ private[immutable] trait VectorPointer[T] {
1156
1156
if (depth == 3 ) {
1157
1157
display3 = new Array (32 )
1158
1158
display3((oldIndex >> 15 ) & 31 ) = display2
1159
- display2 = new Array (32 )
1160
- display1 = new Array (32 )
1161
1159
depth += 1
1162
1160
}
1163
1161
display2 = display3((newIndex >> 15 ) & 31 ).asInstanceOf [Array [AnyRef ]]
@@ -1170,9 +1168,6 @@ private[immutable] trait VectorPointer[T] {
1170
1168
if (depth == 4 ) {
1171
1169
display4 = new Array (32 )
1172
1170
display4((oldIndex >> 20 ) & 31 ) = display3
1173
- display3 = new Array (32 )
1174
- display2 = new Array (32 )
1175
- display1 = new Array (32 )
1176
1171
depth += 1
1177
1172
}
1178
1173
display3 = display4((newIndex >> 20 ) & 31 ).asInstanceOf [Array [AnyRef ]]
@@ -1187,13 +1182,9 @@ private[immutable] trait VectorPointer[T] {
1187
1182
if (depth == 5 ) {
1188
1183
display5 = new Array (32 )
1189
1184
display5((oldIndex >> 25 ) & 31 ) = display4
1190
- display4 = new Array (32 )
1191
- display3 = new Array (32 )
1192
- display2 = new Array (32 )
1193
- display1 = new Array (32 )
1194
1185
depth += 1
1195
1186
}
1196
- display4 = display5((newIndex >> 20 ) & 31 ).asInstanceOf [Array [AnyRef ]]
1187
+ display4 = display5((newIndex >> 25 ) & 31 ).asInstanceOf [Array [AnyRef ]]
1197
1188
if (display4 == null ) display4 = new Array (32 )
1198
1189
display3 = display4((newIndex >> 20 ) & 31 ).asInstanceOf [Array [AnyRef ]]
1199
1190
if (display3 == null ) display3 = new Array (32 )
You can’t perform that action at this time.
0 commit comments