@@ -591,7 +591,7 @@ protected boolean hasArrayElements(@Shared("lib") @CachedLibrary(limit = "LIMIT"
591
591
@ ExportMessage
592
592
@ ExportMessage (name = "isArrayElementModifiable" )
593
593
@ TruffleBoundary
594
- protected boolean isArrayElementReadable (final long index , @ Bind ( "$node" ) final Node node , @ Shared ("sizeNode" ) @ Cached final ArraySizeNode sizeNode ) {
594
+ protected boolean isArrayElementReadable (final long index , @ Bind final Node node , @ Shared ("sizeNode" ) @ Cached final ArraySizeNode sizeNode ) {
595
595
try {
596
596
return 0 <= index && index < sizeNode .execute (node , wrappedObject );
597
597
} catch (final UnsupportedSpecializationException | UnsupportedMessageException e ) {
@@ -606,7 +606,7 @@ protected boolean isArrayElementInsertable(@SuppressWarnings("unused") final lon
606
606
607
607
@ ExportMessage
608
608
@ TruffleBoundary
609
- protected long getArraySize (@ Bind ( "$node" ) final Node node , @ Shared ("sizeNode" ) @ Cached final ArraySizeNode sizeNode ) throws UnsupportedMessageException {
609
+ protected long getArraySize (@ Bind final Node node , @ Shared ("sizeNode" ) @ Cached final ArraySizeNode sizeNode ) throws UnsupportedMessageException {
610
610
try {
611
611
return sizeNode .execute (node , wrappedObject );
612
612
} catch (final UnsupportedSpecializationException e ) {
@@ -672,7 +672,7 @@ protected static final int doTruffleObject(final TruffleObject object, @CachedLi
672
672
}
673
673
674
674
@ ExportMessage
675
- protected Object readArrayElement (final long index , @ Bind ( "$node" ) final Node node , @ Cached final ReadArrayElementNode readNode ) throws InvalidArrayIndexException , UnsupportedMessageException {
675
+ protected Object readArrayElement (final long index , @ Bind final Node node , @ Cached final ReadArrayElementNode readNode ) throws InvalidArrayIndexException , UnsupportedMessageException {
676
676
try {
677
677
return readNode .execute (node , wrappedObject , (int ) index );
678
678
} catch (final ArrayIndexOutOfBoundsException e ) {
@@ -741,7 +741,7 @@ protected static final Object doTruffleObject(final TruffleObject object, final
741
741
}
742
742
743
743
@ ExportMessage
744
- protected void writeArrayElement (final long index , final Object value , @ Bind ( "$node" ) final Node node , @ Cached final WriteArrayElementNode writeNode )
744
+ protected void writeArrayElement (final long index , final Object value , @ Bind final Node node , @ Cached final WriteArrayElementNode writeNode )
745
745
throws InvalidArrayIndexException , UnsupportedMessageException , UnsupportedTypeException {
746
746
try {
747
747
writeNode .execute (node , wrappedObject , (int ) index , value );
0 commit comments