Skip to content

Commit

Permalink
[Truffle] Renamed some classes to generate smaller filenames.
Browse files Browse the repository at this point in the history
Filename length is problematic on ecryptfs.  This rename helps get the Truffle-genereated filename length under the ecryptfs limit.
  • Loading branch information
nirvdrum committed Mar 19, 2015
1 parent 4a39b20 commit ea238d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
Expand Up @@ -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);
}

Expand Down
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit ea238d9

Please sign in to comment.