Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9fa0bdcb1c84
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0338914f6cf0
Choose a head ref
  • 2 commits
  • 88 files changed
  • 1 contributor

Commits on Dec 10, 2016

  1. Copy the full SHA
    f8cde15 View commit details
  2. Copy the full SHA
    0338914 View commit details
Showing with 126 additions and 133 deletions.
  1. +1 −1 truffle/src/main/java/org/jruby/truffle/builtins/CoreMethodNodeManager.java
  2. +1 −1 truffle/src/main/java/org/jruby/truffle/core/CoreLibrary.java
  3. +1 −1 truffle/src/main/java/org/jruby/truffle/core/adapaters/OutputStreamAdapter.java
  4. +1 −1 truffle/src/main/java/org/jruby/truffle/core/basicobject/BasicObjectNodes.java
  5. +1 −1 truffle/src/main/java/org/jruby/truffle/core/cast/ArrayAttributeCastNode.java
  6. +1 −1 truffle/src/main/java/org/jruby/truffle/core/cast/CmpIntNode.java
  7. +2 −2 truffle/src/main/java/org/jruby/truffle/core/encoding/EncodingConverterNodes.java
  8. +3 −3 truffle/src/main/java/org/jruby/truffle/core/encoding/EncodingManager.java
  9. +1 −1 truffle/src/main/java/org/jruby/truffle/core/encoding/TruffleEncodingNodes.java
  10. +1 −1 truffle/src/main/java/org/jruby/truffle/core/exception/CoreExceptions.java
  11. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/format/FormatCharacterNode.java
  12. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/format/FormatIntegerNode.java
  13. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/pack/SimplePackTreeBuilder.java
  14. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/unpack/SimpleUnpackTreeBuilder.java
  15. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/write/bytes/WriteBase64StringNode.java
  16. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/write/bytes/WriteUUStringNode.java
  17. +1 −1 truffle/src/main/java/org/jruby/truffle/core/hash/HashOperations.java
  18. +1 −1 truffle/src/main/java/org/jruby/truffle/core/kernel/KernelNodes.java
  19. +1 −1 truffle/src/main/java/org/jruby/truffle/core/klass/ClassNodes.java
  20. +1 −1 truffle/src/main/java/org/jruby/truffle/core/module/ModuleNodes.java
  21. +1 −1 truffle/src/main/java/org/jruby/truffle/core/module/ModuleOperations.java
  22. +1 −1 truffle/src/main/java/org/jruby/truffle/core/numeric/FloatNodes.java
  23. +1 −1 truffle/src/main/java/org/jruby/truffle/core/objectspace/ObjectSpaceNodes.java
  24. +3 −3 truffle/src/main/java/org/jruby/truffle/core/regexp/ClassicRegexp.java
  25. +1 −1 truffle/src/main/java/org/jruby/truffle/core/regexp/InterpolatedRegexpNode.java
  26. +2 −2 truffle/src/main/java/org/jruby/truffle/core/regexp/MatchDataNodes.java
  27. +2 −2 truffle/src/main/java/org/jruby/truffle/core/regexp/RegexpNodes.java
  28. +1 −1 truffle/src/main/java/org/jruby/truffle/core/regexp/RegexpOptions.java
  29. +2 −2 truffle/src/main/java/org/jruby/truffle/core/rope/RopeNodes.java
  30. +3 −3 truffle/src/main/java/org/jruby/truffle/core/rope/RopeOperations.java
  31. +1 −1 truffle/src/main/java/org/jruby/truffle/core/rope/TruffleRopesNodes.java
  32. +1 −1 truffle/src/main/java/org/jruby/truffle/core/rubinius/ByteArrayNodes.java
  33. +1 −1 truffle/src/main/java/org/jruby/truffle/core/rubinius/IOBufferPrimitiveNodes.java
  34. +1 −1 truffle/src/main/java/org/jruby/truffle/core/rubinius/IOPrimitiveNodes.java
  35. +2 −2 truffle/src/main/java/org/jruby/truffle/core/rubinius/WeakRefPrimitiveNodes.java
  36. +5 −5 truffle/src/main/java/org/jruby/truffle/core/string/ByteList.java
  37. +1 −2 truffle/src/main/java/org/jruby/truffle/core/string/EncodingUtils.java
  38. +2 −2 truffle/src/main/java/org/jruby/truffle/core/string/StringSupport.java
  39. +3 −3 truffle/src/main/java/org/jruby/truffle/core/symbol/SymbolTable.java
  40. +1 −1 truffle/src/main/java/org/jruby/truffle/core/time/RubyDateFormatter.java
  41. +1 −1 truffle/src/main/java/org/jruby/truffle/core/time/TimeNodes.java
  42. +1 −1 truffle/src/main/java/org/jruby/truffle/extra/ffi/PointerPrimitiveNodes.java
  43. +1 −1 truffle/src/main/java/org/jruby/truffle/language/RubyBaseNode.java
  44. +1 −1 truffle/src/main/java/org/jruby/truffle/language/RubyObjectType.java
  45. +1 −1 truffle/src/main/java/org/jruby/truffle/language/backtrace/BacktraceFormatter.java
  46. +1 −1 truffle/src/main/java/org/jruby/truffle/language/constants/GetConstantNode.java
  47. +1 −1 truffle/src/main/java/org/jruby/truffle/language/dispatch/CachedBoxedDispatchNode.java
  48. +1 −1 truffle/src/main/java/org/jruby/truffle/language/dispatch/CachedSingletonDispatchNode.java
  49. +1 −1 truffle/src/main/java/org/jruby/truffle/language/loader/FeatureLoader.java
  50. +1 −1 truffle/src/main/java/org/jruby/truffle/language/loader/RequireNode.java
  51. +8 −9 truffle/src/main/java/org/jruby/truffle/language/methods/ModuleBodyDefinitionNode.java
  52. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/SingletonClassNode.java
  53. +1 −1 truffle/src/main/java/org/jruby/truffle/options/ArgumentProcessor.java
  54. +6 −6 truffle/src/main/java/org/jruby/truffle/options/RubyInstanceConfig.java
  55. +2 −2 truffle/src/main/java/org/jruby/truffle/parser/BodyTranslator.java
  56. +1 −1 truffle/src/main/java/org/jruby/truffle/parser/Helpers.java
  57. +2 −2 truffle/src/main/java/org/jruby/truffle/parser/ParseEnvironment.java
  58. +2 −2 truffle/src/main/java/org/jruby/truffle/parser/Translator.java
  59. +0 −1 truffle/src/main/java/org/jruby/truffle/parser/TranslatorDriver.java
  60. +1 −1 truffle/src/main/java/org/jruby/truffle/parser/ast/FileParseNode.java
  61. +2 −2 truffle/src/main/java/org/jruby/truffle/parser/ast/HashParseNode.java
  62. +1 −1 truffle/src/main/java/org/jruby/truffle/parser/ast/RegexpParseNode.java
  63. +1 −1 truffle/src/main/java/org/jruby/truffle/parser/ast/StrParseNode.java
  64. +1 −1 truffle/src/main/java/org/jruby/truffle/parser/ast/SymbolParseNode.java
  65. +1 −1 truffle/src/main/java/org/jruby/truffle/parser/ast/XStrParseNode.java
  66. +1 −1 truffle/src/main/java/org/jruby/truffle/parser/lexer/HeredocTerm.java
  67. +1 −1 truffle/src/main/java/org/jruby/truffle/parser/lexer/LexingCommon.java
  68. +2 −2 truffle/src/main/java/org/jruby/truffle/parser/lexer/RubyLexer.java
  69. +1 −1 truffle/src/main/java/org/jruby/truffle/parser/lexer/StringTerm.java
  70. +1 −1 truffle/src/main/java/org/jruby/truffle/parser/parser/Parser.java
  71. +2 −2 truffle/src/main/java/org/jruby/truffle/parser/parser/ParserSupport.java
  72. +1 −1 truffle/src/main/java/org/jruby/truffle/parser/parser/RubyParser.java
  73. +2 −2 truffle/src/main/java/org/jruby/truffle/parser/parser/RubyParserResult.java
  74. +1 −1 ...le/src/main/java/org/jruby/truffle/platform/openjdk/OpenJDKArrayBlockingQueueLocksConditions.java
  75. +1 −1 ...e/src/main/java/org/jruby/truffle/platform/openjdk/OpenJDKLinkedBlockingQueueLocksConditions.java
  76. +1 −1 truffle/src/main/java/org/jruby/truffle/platform/posix/PosixFDSet4Bytes.java
  77. +1 −1 truffle/src/main/java/org/jruby/truffle/platform/posix/PosixFDSet8Bytes.java
  78. +2 −2 truffle/src/main/java/org/jruby/truffle/platform/signal/SignalManager.java
  79. +1 −1 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/BigDecimalNodes.java
  80. +1 −1 truffle/src/main/java/org/jruby/truffle/stdlib/digest/DigestNodes.java
  81. +2 −2 truffle/src/main/java/org/jruby/truffle/stdlib/psych/PsychParserNodes.java
  82. +1 −1 truffle/src/main/java/org/jruby/truffle/tools/InstrumentationServerManager.java
  83. +1 −1 truffle/src/main/java/org/jruby/truffle/tools/callgraph/IdProvider.java
  84. +1 −1 truffle/src/main/java/org/jruby/truffle/tools/simpleshell/SimpleShell.java
  85. +1 −1 truffle/src/main/java/org/jruby/truffle/util/IntHashMap.java
  86. +0 −4 truffle/src/main/java/org/jruby/truffle/util/Pack.java
  87. +1 −1 truffle/src/main/java/org/jruby/truffle/util/Platform.java
  88. +2 −2 truffle/src/main/java/org/jruby/truffle/util/WeakValuedMap.java
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@
import org.jruby.truffle.core.cast.TaintResultNode;
import org.jruby.truffle.core.module.ModuleOperations;
import org.jruby.truffle.core.numeric.FixnumLowerNodeGen;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.language.LexicalScope;
import org.jruby.truffle.language.NotProvided;
import org.jruby.truffle.language.RubyConstant;
@@ -46,7 +47,6 @@
import org.jruby.truffle.parser.Translator;
import org.jruby.truffle.platform.UnsafeGroup;
import org.jruby.truffle.tools.ChaosNodeGen;
import org.jruby.truffle.core.string.StringUtils;

import java.util.ArrayList;
import java.util.Arrays;
Original file line number Diff line number Diff line change
@@ -87,6 +87,7 @@
import org.jruby.truffle.core.rubinius.StatPrimitiveNodesFactory;
import org.jruby.truffle.core.rubinius.UndefinedPrimitiveNodesFactory;
import org.jruby.truffle.core.rubinius.WeakRefPrimitiveNodesFactory;
import org.jruby.truffle.core.string.EncodingUtils;
import org.jruby.truffle.core.string.StringNodesFactory;
import org.jruby.truffle.core.string.StringOperations;
import org.jruby.truffle.core.string.TruffleStringNodesFactory;
@@ -134,7 +135,6 @@
import org.jruby.truffle.stdlib.psych.PsychEmitterNodesFactory;
import org.jruby.truffle.stdlib.psych.PsychParserNodesFactory;
import org.jruby.truffle.stdlib.psych.YAMLEncoding;
import org.jruby.truffle.core.string.EncodingUtils;
import org.jruby.truffle.util.Platform;

import java.io.File;
Original file line number Diff line number Diff line change
@@ -13,9 +13,9 @@
import org.jcodings.Encoding;
import org.jruby.truffle.Layouts;
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.core.string.ByteList;
import org.jruby.truffle.core.string.StringOperations;
import org.jruby.truffle.core.string.StringSupport;
import org.jruby.truffle.core.string.ByteList;

import java.io.IOException;
import java.io.OutputStream;
Original file line number Diff line number Diff line change
@@ -38,6 +38,7 @@
import org.jruby.truffle.core.module.ModuleOperations;
import org.jruby.truffle.core.rope.Rope;
import org.jruby.truffle.core.string.StringOperations;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.language.NotProvided;
import org.jruby.truffle.language.RubyNode;
import org.jruby.truffle.language.RubyRootNode;
@@ -57,7 +58,6 @@
import org.jruby.truffle.language.supercall.SuperCallNode;
import org.jruby.truffle.language.yield.YieldNode;
import org.jruby.truffle.parser.ParserContext;
import org.jruby.truffle.core.string.StringUtils;

import java.util.ArrayList;
import java.util.Arrays;
Original file line number Diff line number Diff line change
@@ -19,10 +19,10 @@
import com.oracle.truffle.api.object.DynamicObject;
import com.oracle.truffle.api.source.SourceSection;
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.language.NotProvided;
import org.jruby.truffle.language.RubyNode;
import org.jruby.truffle.language.control.RaiseException;
import org.jruby.truffle.core.string.StringUtils;

/**
* Array indices and lengths must be in 32-bit ranges. This class handle various data types and lowers to a 32-bit int
Original file line number Diff line number Diff line change
@@ -30,11 +30,11 @@
import com.oracle.truffle.api.source.SourceSection;
import org.jruby.truffle.Layouts;
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.language.RubyNode;
import org.jruby.truffle.language.control.RaiseException;
import org.jruby.truffle.language.dispatch.CallDispatchHeadNode;
import org.jruby.truffle.language.dispatch.DispatchHeadNodeFactory;
import org.jruby.truffle.core.string.StringUtils;

/**
* This is a port of MRI's rb_cmpint, as taken from RubyComparable and broken out into specialized nodes.
Original file line number Diff line number Diff line change
@@ -36,16 +36,16 @@
import org.jruby.truffle.core.rope.RopeNodes;
import org.jruby.truffle.core.rope.RopeNodesFactory;
import org.jruby.truffle.core.rope.RopeOperations;
import org.jruby.truffle.core.string.ByteList;
import org.jruby.truffle.core.string.StringOperations;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.language.NotProvided;
import org.jruby.truffle.language.RubyGuards;
import org.jruby.truffle.language.Visibility;
import org.jruby.truffle.language.control.RaiseException;
import org.jruby.truffle.language.dispatch.CallDispatchHeadNode;
import org.jruby.truffle.language.dispatch.DispatchHeadNodeFactory;
import org.jruby.truffle.language.objects.AllocateObjectNode;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.core.string.ByteList;

import java.util.Map;

Original file line number Diff line number Diff line change
@@ -23,9 +23,9 @@
import org.jruby.truffle.Layouts;
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.core.rope.Rope;
import org.jruby.truffle.core.string.ByteList;
import org.jruby.truffle.core.string.StringOperations;
import org.jruby.truffle.util.ISO_8859_16;
import org.jruby.truffle.core.string.ByteList;

import java.nio.charset.Charset;
import java.nio.charset.UnsupportedCharsetException;
@@ -39,8 +39,8 @@ public class EncodingManager {

private static final int INITIAL_NUMBER_OF_ENCODINGS = EncodingDB.getEncodings().size();

private final List<DynamicObject> ENCODING_LIST_BY_ENCODING_LIST_INDEX = new ArrayList<DynamicObject>(INITIAL_NUMBER_OF_ENCODINGS);
private final List<DynamicObject> ENCODING_LIST_BY_ENCODING_INDEX = new ArrayList<DynamicObject>(INITIAL_NUMBER_OF_ENCODINGS);
private final List<DynamicObject> ENCODING_LIST_BY_ENCODING_LIST_INDEX = new ArrayList<>(INITIAL_NUMBER_OF_ENCODINGS);
private final List<DynamicObject> ENCODING_LIST_BY_ENCODING_INDEX = new ArrayList<>(INITIAL_NUMBER_OF_ENCODINGS);
private final Map<String, DynamicObject> LOOKUP = new ConcurrentHashMap<>();

private final RubyContext context;
Original file line number Diff line number Diff line change
@@ -26,9 +26,9 @@
import org.jruby.truffle.builtins.YieldingCoreMethodNode;
import org.jruby.truffle.core.cast.ToStrNode;
import org.jruby.truffle.core.cast.ToStrNodeGen;
import org.jruby.truffle.core.string.ByteList;
import org.jruby.truffle.core.string.StringOperations;
import org.jruby.truffle.language.control.RaiseException;
import org.jruby.truffle.core.string.ByteList;

@CoreClass("Truffle::Encoding")
public abstract class TruffleEncodingNodes {
Original file line number Diff line number Diff line change
@@ -22,9 +22,9 @@
import org.jruby.truffle.core.rope.Rope;
import org.jruby.truffle.core.string.CoreStrings;
import org.jruby.truffle.core.string.StringOperations;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.language.RubyGuards;
import org.jruby.truffle.language.Visibility;
import org.jruby.truffle.core.string.StringUtils;

import static org.jruby.truffle.core.array.ArrayHelpers.createArray;

Original file line number Diff line number Diff line change
@@ -25,8 +25,8 @@
import org.jruby.truffle.core.format.convert.ToStringNodeGen;
import org.jruby.truffle.core.format.exceptions.NoImplicitConversionException;
import org.jruby.truffle.core.format.write.bytes.WriteByteNodeGen;
import org.jruby.truffle.language.control.RaiseException;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.language.control.RaiseException;

import java.nio.charset.StandardCharsets;

Original file line number Diff line number Diff line change
@@ -25,8 +25,8 @@
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.core.format.FormatNode;
import org.jruby.truffle.core.format.printf.PrintfSimpleTreeBuilder;
import org.jruby.truffle.core.string.ConvertBytes;
import org.jruby.truffle.core.string.ByteList;
import org.jruby.truffle.core.string.ConvertBytes;

import java.math.BigInteger;

Original file line number Diff line number Diff line change
@@ -250,7 +250,7 @@ public FormatEncoding getEncoding() {
}

private void pushSequence() {
sequenceStack.push(new ArrayList<FormatNode>());
sequenceStack.push(new ArrayList<>());
}

private void appendNode(FormatNode node) {
Original file line number Diff line number Diff line change
@@ -264,7 +264,7 @@ public FormatNode getNode() {
}

private void pushSequence() {
sequenceStack.push(new ArrayList<FormatNode>());
sequenceStack.push(new ArrayList<>());
}

private void appendNode(FormatNode node) {
Original file line number Diff line number Diff line change
@@ -17,8 +17,8 @@
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.core.format.FormatNode;
import org.jruby.truffle.core.format.exceptions.NoImplicitConversionException;
import org.jruby.truffle.util.Pack;
import org.jruby.truffle.core.string.ByteList;
import org.jruby.truffle.util.Pack;

@NodeChildren({
@NodeChild(value = "value", type = FormatNode.class),
Original file line number Diff line number Diff line change
@@ -17,8 +17,8 @@
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.core.format.FormatNode;
import org.jruby.truffle.core.format.exceptions.NoImplicitConversionException;
import org.jruby.truffle.util.Pack;
import org.jruby.truffle.core.string.ByteList;
import org.jruby.truffle.util.Pack;

/**
* Read a string that contains UU-encoded data and write as actual binary
Original file line number Diff line number Diff line change
@@ -13,9 +13,9 @@
import com.oracle.truffle.api.object.DynamicObject;
import org.jruby.truffle.Layouts;
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.language.RubyGuards;
import org.jruby.truffle.util.BoundaryUtils.BoundaryIterable;
import org.jruby.truffle.core.string.StringUtils;

import java.util.Collections;
import java.util.Iterator;
Original file line number Diff line number Diff line change
@@ -88,6 +88,7 @@
import org.jruby.truffle.core.rope.RopeOperations;
import org.jruby.truffle.core.string.StringCachingGuards;
import org.jruby.truffle.core.string.StringOperations;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.core.symbol.SymbolTable;
import org.jruby.truffle.language.NotProvided;
import org.jruby.truffle.language.RubyGuards;
@@ -142,7 +143,6 @@
import org.jruby.truffle.parser.ParserContext;
import org.jruby.truffle.parser.TranslatorDriver;
import org.jruby.truffle.platform.UnsafeGroup;
import org.jruby.truffle.core.string.StringUtils;

import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
Original file line number Diff line number Diff line change
@@ -27,14 +27,14 @@
import org.jruby.truffle.core.module.ModuleFields;
import org.jruby.truffle.core.module.ModuleNodes;
import org.jruby.truffle.core.module.ModuleNodesFactory;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.language.NotProvided;
import org.jruby.truffle.language.RubyGuards;
import org.jruby.truffle.language.Visibility;
import org.jruby.truffle.language.control.RaiseException;
import org.jruby.truffle.language.dispatch.CallDispatchHeadNode;
import org.jruby.truffle.language.dispatch.DispatchHeadNodeFactory;
import org.jruby.truffle.language.objects.shared.SharedObjects;
import org.jruby.truffle.core.string.StringUtils;

@CoreClass("Class")
public abstract class ClassNodes {
Original file line number Diff line number Diff line change
@@ -52,6 +52,7 @@
import org.jruby.truffle.core.method.MethodFilter;
import org.jruby.truffle.core.rope.Rope;
import org.jruby.truffle.core.string.StringOperations;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.core.symbol.SymbolTable;
import org.jruby.truffle.language.LexicalScope;
import org.jruby.truffle.language.NotProvided;
@@ -96,7 +97,6 @@
import org.jruby.truffle.parser.Translator;
import org.jruby.truffle.platform.UnsafeGroup;
import org.jruby.truffle.util.IdUtil;
import org.jruby.truffle.core.string.StringUtils;

import java.util.ArrayList;
import java.util.Arrays;
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@
import com.oracle.truffle.api.object.DynamicObject;
import org.jruby.truffle.Layouts;
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.language.LexicalScope;
import org.jruby.truffle.language.RubyConstant;
import org.jruby.truffle.language.RubyGuards;
@@ -23,7 +24,6 @@
import org.jruby.truffle.language.methods.InternalMethod;
import org.jruby.truffle.language.objects.shared.SharedObjects;
import org.jruby.truffle.util.IdUtil;
import org.jruby.truffle.core.string.StringUtils;

import java.util.HashMap;
import java.util.Map;
Original file line number Diff line number Diff line change
@@ -33,12 +33,12 @@
import org.jruby.truffle.builtins.PrimitiveArrayArgumentsNode;
import org.jruby.truffle.builtins.PrimitiveNode;
import org.jruby.truffle.core.cast.DefaultValueNodeGen;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.language.RubyNode;
import org.jruby.truffle.language.SnippetNode;
import org.jruby.truffle.language.control.RaiseException;
import org.jruby.truffle.language.dispatch.CallDispatchHeadNode;
import org.jruby.truffle.language.dispatch.DispatchHeadNodeFactory;
import org.jruby.truffle.core.string.StringUtils;

import java.util.Locale;

Original file line number Diff line number Diff line change
@@ -24,6 +24,7 @@
import org.jruby.truffle.builtins.CoreMethodArrayArgumentsNode;
import org.jruby.truffle.builtins.YieldingCoreMethodNode;
import org.jruby.truffle.core.module.ModuleOperations;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.language.NotProvided;
import org.jruby.truffle.language.RubyGuards;
import org.jruby.truffle.language.control.RaiseException;
@@ -32,7 +33,6 @@
import org.jruby.truffle.language.objects.ObjectIDOperations;
import org.jruby.truffle.language.objects.ReadObjectFieldNode;
import org.jruby.truffle.language.objects.ReadObjectFieldNodeGen;
import org.jruby.truffle.core.string.StringUtils;

@CoreClass("ObjectSpace")
public abstract class ObjectSpaceNodes {
Original file line number Diff line number Diff line change
@@ -47,12 +47,12 @@
import org.joni.WarnCallback;
import org.joni.exception.JOniException;
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.core.string.StringSupport;
import org.jruby.truffle.parser.ReOptions;
import org.jruby.truffle.core.string.ByteList;
import org.jruby.truffle.core.string.ByteListKey;
import org.jruby.truffle.core.string.EncodingUtils;
import org.jruby.truffle.core.string.StringSupport;
import org.jruby.truffle.parser.ReOptions;
import org.jruby.truffle.util.WeakValuedMap;
import org.jruby.truffle.core.string.ByteList;

import java.nio.charset.StandardCharsets;
import java.util.Iterator;
Original file line number Diff line number Diff line change
@@ -20,12 +20,12 @@
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.core.rope.Rope;
import org.jruby.truffle.core.rope.RopeOperations;
import org.jruby.truffle.core.string.ByteList;
import org.jruby.truffle.core.string.StringOperations;
import org.jruby.truffle.language.RubyNode;
import org.jruby.truffle.language.dispatch.CallDispatchHeadNode;
import org.jruby.truffle.language.dispatch.DispatchHeadNodeFactory;
import org.jruby.truffle.parser.BodyTranslator;
import org.jruby.truffle.core.string.ByteList;

public class InterpolatedRegexpNode extends RubyNode {

Original file line number Diff line number Diff line change
@@ -34,15 +34,15 @@
import org.jruby.truffle.core.cast.TaintResultNode;
import org.jruby.truffle.core.cast.ToIntNode;
import org.jruby.truffle.core.rope.Rope;
import org.jruby.truffle.core.string.ByteList;
import org.jruby.truffle.core.string.StringGuards;
import org.jruby.truffle.core.string.StringOperations;
import org.jruby.truffle.core.string.StringSupport;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.language.NotProvided;
import org.jruby.truffle.language.RubyGuards;
import org.jruby.truffle.language.RubyNode;
import org.jruby.truffle.language.control.RaiseException;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.core.string.ByteList;

import java.util.Arrays;

Original file line number Diff line number Diff line change
@@ -63,7 +63,9 @@
import org.jruby.truffle.core.rope.RopeNodes;
import org.jruby.truffle.core.rope.RopeNodesFactory;
import org.jruby.truffle.core.rope.RopeOperations;
import org.jruby.truffle.core.string.ByteList;
import org.jruby.truffle.core.string.StringOperations;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.language.NotProvided;
import org.jruby.truffle.language.RubyGuards;
import org.jruby.truffle.language.RubyNode;
@@ -73,8 +75,6 @@
import org.jruby.truffle.language.dispatch.DispatchHeadNodeFactory;
import org.jruby.truffle.language.objects.AllocateObjectNode;
import org.jruby.truffle.language.threadlocal.ThreadLocalObject;
import org.jruby.truffle.core.string.StringUtils;
import org.jruby.truffle.core.string.ByteList;

import java.nio.charset.StandardCharsets;
import java.util.Arrays;
Original file line number Diff line number Diff line change
@@ -19,9 +19,9 @@
import org.jcodings.specific.UTF8Encoding;
import org.jruby.truffle.Layouts;
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.core.string.ByteList;
import org.jruby.truffle.parser.ReOptions;
import org.jruby.truffle.util.KCode;
import org.jruby.truffle.core.string.ByteList;

public class RegexpOptions implements Cloneable {
private static ByteList WINDOWS31J = new ByteList(new byte[] {'W', 'i', 'n', 'd', 'o', 'w', 's', '-', '3', '1', 'J'});
Loading