File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
src/main/java/org/truffleruby/core/format/read/array Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 12
12
import org .truffleruby .core .array .ArrayGuards ;
13
13
import org .truffleruby .core .array .library .ArrayStoreLibrary ;
14
14
import org .truffleruby .core .format .FormatNode ;
15
- import org .truffleruby .core .format .LiteralFormatNode ;
16
15
import org .truffleruby .core .format .convert .ToStringNode ;
17
16
import org .truffleruby .core .format .convert .ToStringNodeGen ;
18
17
import org .truffleruby .core .format .read .SourceNode ;
19
- import org .truffleruby .core .format .write .bytes .WriteByteNodeGen ;
20
18
21
19
import com .oracle .truffle .api .CompilerDirectives ;
22
20
import com .oracle .truffle .api .dsl .ImportStatic ;
@@ -68,7 +66,7 @@ private Object readAndConvert(Object value) {
68
66
conversionMethod ,
69
67
inspectOnConversionFailure ,
70
68
specialClassBehaviour ,
71
- WriteByteNodeGen . create ( new LiteralFormatNode (( byte ) 0 )) ));
69
+ null ));
72
70
}
73
71
74
72
return toStringNode .executeToString (value );
Original file line number Diff line number Diff line change 12
12
import org .truffleruby .core .array .ArrayGuards ;
13
13
import org .truffleruby .core .array .library .ArrayStoreLibrary ;
14
14
import org .truffleruby .core .format .FormatNode ;
15
- import org .truffleruby .core .format .LiteralFormatNode ;
16
15
import org .truffleruby .core .format .convert .ToStringOrDefaultValueNode ;
17
16
import org .truffleruby .core .format .convert .ToStringOrDefaultValueNodeGen ;
18
17
import org .truffleruby .core .format .read .SourceNode ;
19
- import org .truffleruby .core .format .write .bytes .WriteByteNodeGen ;
20
18
21
19
import com .oracle .truffle .api .CompilerDirectives ;
22
20
import com .oracle .truffle .api .dsl .ImportStatic ;
@@ -73,7 +71,7 @@ private Object readAndConvert(Object value) {
73
71
inspectOnConversionFailure ,
74
72
valueOnNil ,
75
73
specialClassBehaviour ,
76
- WriteByteNodeGen . create ( new LiteralFormatNode (( byte ) 0 )) ));
74
+ null ));
77
75
}
78
76
79
77
return toStringOrDefaultValueNode .executeToString (value );
You can’t perform that action at this time.
0 commit comments