Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Truffle] Make scrub helper method private
Browse files Browse the repository at this point in the history
Brandon Fish committed Jan 7, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent fb4766a commit baea383
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1378,7 +1378,7 @@ public abstract static class ScrubNode extends YieldingCoreMethodNode {

@Child private IsTaintedNode isTaintedNode = IsTaintedNode.create();
@Child private TaintNode taintNode = TaintNode.create();
@Child private CallDispatchHeadNode strCompatAndValidNode = DispatchHeadNodeFactory.createMethodCall();
@Child private CallDispatchHeadNode strCompatAndValidNode = DispatchHeadNodeFactory.createMethodCall(true);
@Child private RopeNodes.MakeConcatNode makeConcatNode = RopeNodesFactory.MakeConcatNodeGen.create(null, null, null);

@Specialization
1 change: 1 addition & 0 deletions truffle/src/main/ruby/core/string.rb
Original file line number Diff line number Diff line change
@@ -1224,6 +1224,7 @@ def str_compat_and_valid(str, enc)
end
res
end
private :str_compat_and_valid

def []=(index, count_or_replacement, replacement=undefined)
Truffle.check_frozen

0 comments on commit baea383

Please sign in to comment.