Skip to content


[Truffle] - String#size should use StringSupport.strLengthFromRubyString
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasallan committed Feb 24, 2015
1 parent 19e4c3a commit d3d4f85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@ public SizeNode(SizeNode prev) {

public int size(RubyString string) {
return string.length();
return StringSupport.strLengthFromRubyString(string);

Expand Down

0 comments on commit d3d4f85

Please sign in to comment.