Skip to content

Commit

Permalink
Showing 2 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -21,13 +21,13 @@
public abstract class EncodingPrimitiveNodes {

@RubiniusPrimitive(name = "encoding_get_object_encoding", needsSelf = false)
public static abstract class EncodingGetObjectEncodingPrimitiveNode extends RubiniusPrimitiveNode {
public static abstract class EncodingGetObjectEncodingNode extends RubiniusPrimitiveNode {

public EncodingGetObjectEncodingPrimitiveNode(RubyContext context, SourceSection sourceSection) {
public EncodingGetObjectEncodingNode(RubyContext context, SourceSection sourceSection) {
super(context, sourceSection);
}

public EncodingGetObjectEncodingPrimitiveNode(EncodingGetObjectEncodingPrimitiveNode prev) {
public EncodingGetObjectEncodingNode(EncodingGetObjectEncodingNode prev) {
super(prev);
}

Original file line number Diff line number Diff line change
@@ -55,7 +55,6 @@

import com.oracle.truffle.api.CompilerDirectives;
import com.oracle.truffle.api.dsl.Specialization;
import com.oracle.truffle.api.frame.VirtualFrame;
import com.oracle.truffle.api.source.SourceSection;
import com.oracle.truffle.api.utilities.ConditionProfile;
import org.jcodings.Encoding;
@@ -65,8 +64,6 @@
import org.jruby.truffle.nodes.cast.TaintResultNode;
import org.jruby.truffle.nodes.core.StringNodes;
import org.jruby.truffle.nodes.core.StringNodesFactory;
import org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode;
import org.jruby.truffle.nodes.dispatch.DispatchHeadNodeFactory;
import org.jruby.truffle.runtime.RubyContext;
import org.jruby.truffle.runtime.UndefinedPlaceholder;
import org.jruby.truffle.runtime.control.RaiseException;
@@ -577,13 +574,13 @@ public Object stringIndex(RubyString string, RubyString pattern, int start) {
}

@RubiniusPrimitive(name = "string_character_byte_index", needsSelf = false)
public static abstract class StringCharacterByteIndexPrimitiveNode extends RubiniusPrimitiveNode {
public static abstract class CharacterByteIndexNode extends RubiniusPrimitiveNode {

public StringCharacterByteIndexPrimitiveNode(RubyContext context, SourceSection sourceSection) {
public CharacterByteIndexNode(RubyContext context, SourceSection sourceSection) {
super(context, sourceSection);
}

public StringCharacterByteIndexPrimitiveNode(StringCharacterByteIndexPrimitiveNode prev) {
public CharacterByteIndexNode(CharacterByteIndexNode prev) {
super(prev);
}

0 comments on commit ea238d9

Please sign in to comment.