Skip to content

Commit 0a5320e

Browse files
author
Nicolas Laurent
committed
remove obsolete todo
1 parent dc3a61a commit 0a5320e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/org/truffleruby/core/array/ArrayAppendOneNode.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ protected DynamicObject appendOneGeneralizeNonMutable(DynamicObject array, Objec
8181
final int newCapacity = newSize > oldCapacity
8282
? ArrayUtils.capacityForOneMore(getContext(), oldCapacity)
8383
: oldCapacity;
84-
// TODO (norswap, 03 Apr 2020): this is a performance warning (inlining a virtual call)
8584
final Object newStore = currentStores.allocateForNewValue(currentStore, value, newCapacity);
8685
currentStores.copyContents(currentStore, 0, newStore, 0, oldSize);
8786
propagateSharingNode.executePropagate(array, value);

0 commit comments

Comments
 (0)