Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -244,8 +244,6 @@ protected boolean isUTF8AndUSASCII(DynamicObject string, DynamicObject other) {
public abstract static class MulNode extends CoreMethodArrayArgumentsNode {

@Child private AllocateObjectNode allocateObjectNode;
@Child private RopeNodes.MakeConcatNode makeConcatNode;
@Child private RopeNodes.MakeLeafRopeNode makeLeafRopeNode;
@Child private ToIntNode toIntNode;

public MulNode(RubyContext context, SourceSection sourceSection) {
@@ -285,12 +283,6 @@ public DynamicObject multiply(VirtualFrame frame, DynamicObject string, Object t
return executeInt(frame, string, toIntNode.doInt(frame, times));
}

protected static boolean isSingleByteString(DynamicObject string) {
assert RubyGuards.isRubyString(string);

return rope(string).byteLength() == 1;
}

}

@CoreMethod(names = {"==", "===", "eql?"}, required = 1)

0 comments on commit 3ae2a67

Please sign in to comment.