@@ -2274,7 +2274,7 @@ protected static int mutable(Node node, RubyString string, int index, int value,
2274
2274
@ Cached @ Shared StringHelperNodes .CheckIndexNode checkIndexNode ,
2275
2275
@ Cached @ Shared RubyStringLibrary libString ,
2276
2276
@ Bind ("string.tstring" ) AbstractTruffleString tstring ,
2277
- @ Cached @ Shared MutableTruffleString .WriteByteNode writeByteNode ) {
2277
+ @ Cached ( inline = false ) @ Shared MutableTruffleString .WriteByteNode writeByteNode ) {
2278
2278
var tencoding = libString .getTEncoding (string );
2279
2279
final int normalizedIndex = checkIndexNode .execute (node , index , tstring .byteLength (tencoding ));
2280
2280
@@ -2287,8 +2287,8 @@ protected static int immutable(Node node, RubyString string, int index, int valu
2287
2287
@ Cached @ Shared StringHelperNodes .CheckIndexNode checkIndexNode ,
2288
2288
@ Cached @ Shared RubyStringLibrary libString ,
2289
2289
@ Bind ("string.tstring" ) AbstractTruffleString tstring ,
2290
- @ Cached MutableTruffleString .AsMutableTruffleStringNode asMutableTruffleStringNode ,
2291
- @ Cached @ Shared MutableTruffleString .WriteByteNode writeByteNode ) {
2290
+ @ Cached ( inline = false ) MutableTruffleString .AsMutableTruffleStringNode asMutableTruffleStringNode ,
2291
+ @ Cached ( inline = false ) @ Shared MutableTruffleString .WriteByteNode writeByteNode ) {
2292
2292
var tencoding = libString .getTEncoding (string );
2293
2293
final int normalizedIndex = checkIndexNode .execute (node , index , tstring .byteLength (tencoding ));
2294
2294
0 commit comments