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: c36030894ba6
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1e692f013cd3
Choose a head ref

Commits on May 5, 2016

  1. Copy the full SHA
    545daf8 View commit details
  2. Copy the full SHA
    bfcd1ff View commit details
  3. Copy the full SHA
    f688446 View commit details
  4. Copy the full SHA
    e14fd67 View commit details
  5. Copy the full SHA
    d761960 View commit details
  6. Copy the full SHA
    d94603f View commit details
  7. Copy the full SHA
    81fa93f View commit details
  8. Copy the full SHA
    e1989e9 View commit details
  9. Copy the full SHA
    bf32724 View commit details
  10. Copy the full SHA
    8504640 View commit details
  11. Copy the full SHA
    7be8ca8 View commit details
  12. Copy the full SHA
    4f1ab2a View commit details
  13. Copy the full SHA
    762ad7a View commit details
  14. Copy the full SHA
    7beb1f1 View commit details
  15. Copy the full SHA
    ce63fc6 View commit details
  16. Copy the full SHA
    2a10ed2 View commit details
  17. Copy the full SHA
    d18ae3f View commit details
  18. Copy the full SHA
    b6a4b88 View commit details
  19. [Truffle] Remove the word Rubinius from our primitive infrastructure.

    We'll now just see them as a alternative to the core method infrastructure.
    chrisseaton committed May 5, 2016
    Copy the full SHA
    6d6fc5c View commit details

Commits on May 6, 2016

  1. Copy the full SHA
    2cfa314 View commit details
  2. Copy the full SHA
    8e4852b View commit details
  3. Copy the full SHA
    432e895 View commit details
  4. Copy the full SHA
    4975b66 View commit details
  5. [Truffle] Have a static slow path helper to check if frozen.

    * Since it's fairly simple and much more reasonable.
    eregon committed May 6, 2016
    Copy the full SHA
    9ed3224 View commit details
  6. Copy the full SHA
    2738304 View commit details
  7. Copy the full SHA
    76d90de View commit details
  8. Copy the full SHA
    9d67800 View commit details
  9. Copy the full SHA
    52c2300 View commit details
  10. Copy the full SHA
    1e692f0 View commit details
Showing with 4,492 additions and 4,703 deletions.
  1. +1 −1 truffle/pom.rb
  2. +1 −1 truffle/pom.xml
  3. +5 −3 truffle/src/main/java/org/jruby/truffle/{core → }/Layouts.java
  4. +5 −5 truffle/src/main/java/org/jruby/truffle/RubyContext.java
  5. +1 −1 truffle/src/main/java/org/jruby/truffle/{core → builtins}/BinaryCoreMethodNode.java
  6. +4 −4 ...rg/jruby/truffle/{core/rubinius/CallRubiniusPrimitiveNode.java → builtins/CallPrimitiveNode.java}
  7. +2 −2 truffle/src/main/java/org/jruby/truffle/{core → builtins}/CoreClass.java
  8. +1 −1 truffle/src/main/java/org/jruby/truffle/{core → builtins}/CoreMethod.java
  9. +1 −1 truffle/src/main/java/org/jruby/truffle/{core → builtins}/CoreMethodArrayArgumentsNode.java
  10. +1 −1 truffle/src/main/java/org/jruby/truffle/{core → builtins}/CoreMethodNode.java
  11. +7 −4 truffle/src/main/java/org/jruby/truffle/{core → builtins}/CoreMethodNodeManager.java
  12. +1 −1 truffle/src/main/java/org/jruby/truffle/{core → builtins}/CoreSourceSection.java
  13. +1 −1 truffle/src/main/java/org/jruby/truffle/{core/rubinius → builtins}/InvokeRubiniusPrimitiveNode.java
  14. +2 −5 truffle/src/main/java/org/jruby/truffle/{core/RubiniusOnly.java → builtins/NonStandard.java}
  15. +2 −2 .../src/main/java/org/jruby/truffle/{core/rubinius/RubiniusPrimitive.java → builtins/Primitive.java}
  16. +5 −4 ...re/rubinius/RubiniusPrimitiveArrayArgumentsNode.java → builtins/PrimitiveArrayArgumentsNode.java}
  17. +5 −5 ...le/{core/rubinius/RubiniusPrimitiveCallConstructor.java → builtins/PrimitiveCallConstructor.java}
  18. +2 −2 ...by/truffle/{core/rubinius/RubiniusPrimitiveConstructor.java → builtins/PrimitiveConstructor.java}
  19. +109 −0 truffle/src/main/java/org/jruby/truffle/builtins/PrimitiveManager.java
  20. +4 −4 ...n/java/org/jruby/truffle/{core/rubinius/RubiniusPrimitiveNode.java → builtins/PrimitiveNode.java}
  21. +9 −11 ...le/{core/rubinius/RubiniusPrimitiveNodeConstructor.java → builtins/PrimitiveNodeConstructor.java}
  22. +1 −1 truffle/src/main/java/org/jruby/truffle/{core → builtins}/UnaryCoreMethodNode.java
  23. +1 −1 truffle/src/main/java/org/jruby/truffle/{core → builtins}/UnsafeNode.java
  24. +1 −1 truffle/src/main/java/org/jruby/truffle/{core → builtins}/YieldingCoreMethodNode.java
  25. +4 −1 truffle/src/main/java/org/jruby/truffle/core/CoreLibrary.java
  26. +4 −1 truffle/src/main/java/org/jruby/truffle/core/MainNodes.java
  27. +5 −1 truffle/src/main/java/org/jruby/truffle/core/MathNodes.java
  28. +14 −12 truffle/src/main/java/org/jruby/truffle/core/{rubinius/ObjectPrimitiveNodes.java → ObjectNodes.java}
  29. +6 −1 truffle/src/main/java/org/jruby/truffle/core/ProcessNodes.java
  30. +1 −0 truffle/src/main/java/org/jruby/truffle/core/SetTopLevelBindingNode.java
  31. +4 −1 truffle/src/main/java/org/jruby/truffle/core/TruffleGCNodes.java
  32. +5 −1 truffle/src/main/java/org/jruby/truffle/core/TruffleProcessNodes.java
  33. +5 −1 truffle/src/main/java/org/jruby/truffle/core/TruffleSystemNodes.java
  34. +1 −1 truffle/src/main/java/org/jruby/truffle/core/adapaters/OutputStreamAdapter.java
  35. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayAppendManyNode.java
  36. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayAppendOneNode.java
  37. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayBuilderNode.java
  38. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayConcatNode.java
  39. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayCoreMethodNode.java
  40. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayDropTailNode.java
  41. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayDupNode.java
  42. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayEnsureCapacityNode.java
  43. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayGeneralizeNode.java
  44. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayGetTailNode.java
  45. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayGuards.java
  46. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayHelpers.java
  47. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayLiteralNode.java
  48. +24 −12 truffle/src/main/java/org/jruby/truffle/core/array/ArrayNodes.java
  49. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayOperations.java
  50. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayPopOneNode.java
  51. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayReadDenormalizedNode.java
  52. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayReadNormalizedNode.java
  53. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayReadSliceDenormalizedNode.java
  54. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayReadSliceNormalizedNode.java
  55. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArraySliceNode.java
  56. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayStrategy.java
  57. +1 −1 truffle/src/main/java/org/jruby/truffle/core/array/ArrayWriteNormalizedNode.java
  58. +8 −8 truffle/src/main/java/org/jruby/truffle/core/basicobject/BasicObjectNodes.java
  59. +6 −6 truffle/src/main/java/org/jruby/truffle/core/binding/BindingNodes.java
  60. +4 −4 truffle/src/main/java/org/jruby/truffle/core/binding/TruffleBindingNodes.java
  61. +4 −4 truffle/src/main/java/org/jruby/truffle/core/bool/FalseClassNodes.java
  62. +5 −5 truffle/src/main/java/org/jruby/truffle/core/bool/TrueClassNodes.java
  63. +1 −1 truffle/src/main/java/org/jruby/truffle/core/cast/ArrayCastNode.java
  64. +1 −1 truffle/src/main/java/org/jruby/truffle/core/cast/CmpIntNode.java
  65. +1 −1 truffle/src/main/java/org/jruby/truffle/core/cast/NameToJavaStringNode.java
  66. +1 −1 truffle/src/main/java/org/jruby/truffle/core/cast/NameToSymbolOrStringNode.java
  67. +1 −1 truffle/src/main/java/org/jruby/truffle/core/cast/SingleValueCastNode.java
  68. +1 −1 truffle/src/main/java/org/jruby/truffle/core/cast/SplatCastNode.java
  69. +1 −1 truffle/src/main/java/org/jruby/truffle/core/cast/StringToSymbolNode.java
  70. +1 −1 truffle/src/main/java/org/jruby/truffle/core/cast/ToAryNode.java
  71. +1 −1 truffle/src/main/java/org/jruby/truffle/core/cast/ToFNode.java
  72. +1 −1 truffle/src/main/java/org/jruby/truffle/core/cast/ToIntNode.java
  73. +1 −1 truffle/src/main/java/org/jruby/truffle/core/cast/ToProcNode.java
  74. +1 −1 truffle/src/main/java/org/jruby/truffle/core/cast/ToStrNode.java
  75. +1 −1 truffle/src/main/java/org/jruby/truffle/core/{rubinius → dir}/DirLayout.java
  76. +15 −13 truffle/src/main/java/org/jruby/truffle/core/{rubinius/DirPrimitiveNodes.java → dir/DirNodes.java}
  77. +275 −8 truffle/src/main/java/org/jruby/truffle/core/encoding/EncodingConverterNodes.java
  78. +45 −10 truffle/src/main/java/org/jruby/truffle/core/encoding/EncodingNodes.java
  79. +1 −1 truffle/src/main/java/org/jruby/truffle/core/encoding/EncodingOperations.java
  80. +14 −1 truffle/src/main/java/org/jruby/truffle/core/exception/CoreExceptions.java
  81. +20 −7 truffle/src/main/java/org/jruby/truffle/core/exception/ExceptionNodes.java
  82. +1 −1 truffle/src/main/java/org/jruby/truffle/core/exception/ExceptionOperations.java
  83. +1 −1 truffle/src/main/java/org/jruby/truffle/core/fiber/FiberManager.java
  84. +7 −7 truffle/src/main/java/org/jruby/truffle/core/fiber/FiberNodes.java
  85. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/convert/ToLongNode.java
  86. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/convert/ToStringNode.java
  87. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/format/FormatIntegerNode.java
  88. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/read/bytes/ReadBase64StringNode.java
  89. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/read/bytes/ReadBinaryStringNode.java
  90. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/read/bytes/ReadBitStringNode.java
  91. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/read/bytes/ReadHexStringNode.java
  92. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/read/bytes/ReadMIMEStringNode.java
  93. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/read/bytes/ReadUUStringNode.java
  94. +1 −1 truffle/src/main/java/org/jruby/truffle/core/format/write/bytes/WriteBERNode.java
  95. +1 −1 truffle/src/main/java/org/jruby/truffle/core/hash/BucketsStrategy.java
  96. +1 −1 truffle/src/main/java/org/jruby/truffle/core/hash/HashGuards.java
  97. +1 −1 truffle/src/main/java/org/jruby/truffle/core/hash/HashLiteralNode.java
  98. +11 −11 truffle/src/main/java/org/jruby/truffle/core/hash/HashNodes.java
  99. +1 −1 truffle/src/main/java/org/jruby/truffle/core/hash/HashOperations.java
  100. +1 −1 truffle/src/main/java/org/jruby/truffle/core/hash/LookupEntryNode.java
  101. +1 −1 truffle/src/main/java/org/jruby/truffle/core/hash/PackedArrayStrategy.java
  102. +1 −1 truffle/src/main/java/org/jruby/truffle/core/hash/SetNode.java
  103. +1 −1 truffle/src/main/java/org/jruby/truffle/core/kernel/AtExitManager.java
  104. +11 −11 truffle/src/main/java/org/jruby/truffle/core/kernel/KernelNodes.java
  105. +1 −1 truffle/src/main/java/org/jruby/truffle/core/kernel/TraceManager.java
  106. +4 −4 truffle/src/main/java/org/jruby/truffle/core/kernel/TruffleKernelNodes.java
  107. +5 −5 truffle/src/main/java/org/jruby/truffle/core/klass/ClassNodes.java
  108. +6 −6 truffle/src/main/java/org/jruby/truffle/core/method/MethodNodes.java
  109. +6 −6 truffle/src/main/java/org/jruby/truffle/core/method/UnboundMethodNodes.java
  110. +13 −19 truffle/src/main/java/org/jruby/truffle/core/module/ModuleFields.java
  111. +58 −96 truffle/src/main/java/org/jruby/truffle/core/module/ModuleNodes.java
  112. +7 −6 truffle/src/main/java/org/jruby/truffle/core/module/ModuleOperations.java
  113. +6 −6 truffle/src/main/java/org/jruby/truffle/core/mutex/MutexNodes.java
  114. +1 −1 truffle/src/main/java/org/jruby/truffle/core/mutex/MutexOperations.java
  115. +75 −6 truffle/src/main/java/org/jruby/truffle/core/numeric/BignumNodes.java
  116. +1 −1 truffle/src/main/java/org/jruby/truffle/core/numeric/BignumOperations.java
  117. +164 −5 truffle/src/main/java/org/jruby/truffle/core/numeric/FixnumNodes.java
  118. +119 −5 truffle/src/main/java/org/jruby/truffle/core/numeric/FloatNodes.java
  119. +1 −1 truffle/src/main/java/org/jruby/truffle/core/numeric/GeneralDivModNode.java
  120. +6 −6 truffle/src/main/java/org/jruby/truffle/core/numeric/IntegerNodes.java
  121. +4 −4 truffle/src/main/java/org/jruby/truffle/core/numeric/TruffleFixnumNodes.java
  122. +6 −6 truffle/src/main/java/org/jruby/truffle/core/objectspace/ObjectSpaceNodes.java
  123. +7 −7 truffle/src/main/java/org/jruby/truffle/core/proc/ProcNodes.java
  124. +1 −1 truffle/src/main/java/org/jruby/truffle/core/proc/ProcOperations.java
  125. +1 −1 truffle/src/main/java/org/jruby/truffle/core/proc/ProcSignalHandler.java
  126. +8 −8 truffle/src/main/java/org/jruby/truffle/core/queue/QueueNodes.java
  127. +6 −6 truffle/src/main/java/org/jruby/truffle/core/queue/SizedQueueNodes.java
  128. +12 −12 truffle/src/main/java/org/jruby/truffle/core/range/RangeNodes.java
  129. +1 −1 truffle/src/main/java/org/jruby/truffle/core/regexp/InterpolatedRegexpNode.java
  130. +9 −9 truffle/src/main/java/org/jruby/truffle/core/regexp/MatchDataNodes.java
  131. +1 −1 truffle/src/main/java/org/jruby/truffle/core/regexp/RegexpGuards.java
  132. +9 −9 truffle/src/main/java/org/jruby/truffle/core/regexp/RegexpNodes.java
  133. +1 −1 truffle/src/main/java/org/jruby/truffle/core/rope/RopeOperations.java
  134. +4 −4 truffle/src/main/java/org/jruby/truffle/core/rope/TruffleRopesNodes.java
  135. +0 −26 truffle/src/main/java/org/jruby/truffle/core/rubinius/ArrayPrimitiveNodes.java
  136. +5 −5 truffle/src/main/java/org/jruby/truffle/core/rubinius/AtomicReferenceNodes.java
  137. +0 −92 truffle/src/main/java/org/jruby/truffle/core/rubinius/BignumPrimitiveNodes.java
  138. +6 −6 truffle/src/main/java/org/jruby/truffle/core/rubinius/ByteArrayNodes.java
  139. +5 −3 truffle/src/main/java/org/jruby/truffle/core/rubinius/ChannelPrimitiveNodes.java
  140. +0 −297 truffle/src/main/java/org/jruby/truffle/core/rubinius/EncodingConverterPrimitiveNodes.java
  141. +0 −53 truffle/src/main/java/org/jruby/truffle/core/rubinius/EncodingPrimitiveNodes.java
  142. +0 −30 truffle/src/main/java/org/jruby/truffle/core/rubinius/ExceptionPrimitiveNodes.java
  143. +0 −181 truffle/src/main/java/org/jruby/truffle/core/rubinius/FixnumPrimitiveNodes.java
  144. +0 −139 truffle/src/main/java/org/jruby/truffle/core/rubinius/FloatPrimitiveNodes.java
  145. +9 −7 truffle/src/main/java/org/jruby/truffle/core/rubinius/IOBufferPrimitiveNodes.java
  146. +38 −36 truffle/src/main/java/org/jruby/truffle/core/rubinius/IOPrimitiveNodes.java
  147. +4 −2 truffle/src/main/java/org/jruby/truffle/core/rubinius/NativeFunctionPrimitiveNodes.java
  148. +33 −31 truffle/src/main/java/org/jruby/truffle/core/rubinius/PointerPrimitiveNodes.java
  149. +5 −5 truffle/src/main/java/org/jruby/truffle/core/rubinius/PosixNodes.java
  150. +13 −11 truffle/src/main/java/org/jruby/truffle/core/rubinius/RandomizerPrimitiveNodes.java
  151. +17 −15 truffle/src/main/java/org/jruby/truffle/core/rubinius/RegexpPrimitiveNodes.java
  152. +0 −83 truffle/src/main/java/org/jruby/truffle/core/rubinius/RubiniusPrimitiveManager.java
  153. +1 −1 truffle/src/main/java/org/jruby/truffle/core/rubinius/RubiniusSingleBlockArgNode.java
  154. +5 −5 truffle/src/main/java/org/jruby/truffle/core/rubinius/RubiniusTypeNodes.java
  155. +37 −35 truffle/src/main/java/org/jruby/truffle/core/rubinius/StatPrimitiveNodes.java
  156. +0 −1,862 truffle/src/main/java/org/jruby/truffle/core/rubinius/StringPrimitiveNodes.java
  157. +0 −33 truffle/src/main/java/org/jruby/truffle/core/rubinius/SymbolPrimitiveNodes.java
  158. +0 −103 truffle/src/main/java/org/jruby/truffle/core/rubinius/ThreadPrimitiveNodes.java
  159. +0 −537 truffle/src/main/java/org/jruby/truffle/core/rubinius/TimePrimitiveNodes.java
  160. +4 −2 truffle/src/main/java/org/jruby/truffle/core/rubinius/UndefinedPrimitiveNodes.java
  161. +47 −45 truffle/src/main/java/org/jruby/truffle/core/rubinius/VMPrimitiveNodes.java
  162. +9 −7 truffle/src/main/java/org/jruby/truffle/core/rubinius/WeakRefPrimitiveNodes.java
  163. +1 −1 truffle/src/main/java/org/jruby/truffle/core/string/FrozenStrings.java
  164. +2 −4 truffle/src/main/java/org/jruby/truffle/core/string/InterpolatedStringNode.java
  165. +1 −1 truffle/src/main/java/org/jruby/truffle/core/string/StringGuards.java
  166. +1,813 −23 truffle/src/main/java/org/jruby/truffle/core/string/StringNodes.java
  167. +1 −1 truffle/src/main/java/org/jruby/truffle/core/string/StringOperations.java
  168. +21 −7 truffle/src/main/java/org/jruby/truffle/core/symbol/SymbolNodes.java
  169. +1 −1 truffle/src/main/java/org/jruby/truffle/core/symbol/SymbolTable.java
  170. +4 −4 truffle/src/main/java/org/jruby/truffle/core/thread/ThreadBacktraceLocationNodes.java
  171. +2 −3 truffle/src/main/java/org/jruby/truffle/core/thread/ThreadManager.java
  172. +86 −8 truffle/src/main/java/org/jruby/truffle/core/thread/ThreadNodes.java
  173. +479 −9 truffle/src/main/java/org/jruby/truffle/core/time/TimeNodes.java
  174. +1 −1 truffle/src/main/java/org/jruby/truffle/core/tracepoint/TracePointEventNode.java
  175. +7 −7 truffle/src/main/java/org/jruby/truffle/core/tracepoint/TracePointNodes.java
  176. +6 −6 truffle/src/main/java/org/jruby/truffle/debug/TruffleDebugNodes.java
  177. +5 −5 truffle/src/main/java/org/jruby/truffle/extra/AttachmentsInternalNodes.java
  178. +1 −1 truffle/src/main/java/org/jruby/truffle/extra/AttachmentsManager.java
  179. +4 −4 truffle/src/main/java/org/jruby/truffle/extra/TruffleGraalNodes.java
  180. +4 −4 truffle/src/main/java/org/jruby/truffle/interop/CExtNodes.java
  181. +1 −1 truffle/src/main/java/org/jruby/truffle/interop/ForeignExecuteHelperNode.java
  182. +1 −1 truffle/src/main/java/org/jruby/truffle/interop/ForeignReadStringCachingHelperNode.java
  183. +5 −5 truffle/src/main/java/org/jruby/truffle/interop/InteropNodes.java
  184. +1 −1 truffle/src/main/java/org/jruby/truffle/interop/RubyMessageResolution.java
  185. +1 −1 truffle/src/main/java/org/jruby/truffle/interop/ToJavaStringNode.java
  186. +2 −2 truffle/src/main/java/org/jruby/truffle/language/CallStackManager.java
  187. +1 −1 truffle/src/main/java/org/jruby/truffle/language/DataNode.java
  188. +1 −1 truffle/src/main/java/org/jruby/truffle/language/LexicalScope.java
  189. +1 −1 truffle/src/main/java/org/jruby/truffle/language/RubyBaseNode.java
  190. +1 −1 truffle/src/main/java/org/jruby/truffle/language/RubyConstant.java
  191. +1 −1 truffle/src/main/java/org/jruby/truffle/language/RubyGuards.java
  192. +1 −1 truffle/src/main/java/org/jruby/truffle/language/RubyObjectType.java
  193. +1 −1 truffle/src/main/java/org/jruby/truffle/language/SafepointManager.java
  194. +7 −7 truffle/src/main/java/org/jruby/truffle/language/TruffleBootNodes.java
  195. +5 −5 truffle/src/main/java/org/jruby/truffle/language/TruffleSafeNodes.java
  196. +1 −1 truffle/src/main/java/org/jruby/truffle/language/arguments/ArgumentDescriptorUtils.java
  197. +1 −1 truffle/src/main/java/org/jruby/truffle/language/arguments/ArrayIsAtLeastAsLargeAsNode.java
  198. +1 −1 truffle/src/main/java/org/jruby/truffle/language/arguments/ReadKeywordRestArgumentNode.java
  199. +1 −1 truffle/src/main/java/org/jruby/truffle/language/arguments/ReadOptionalArgumentNode.java
  200. +1 −1 truffle/src/main/java/org/jruby/truffle/language/arguments/ReadRestArgumentNode.java
  201. +1 −1 truffle/src/main/java/org/jruby/truffle/language/arguments/RunBlockKWArgsHelperNode.java
  202. +1 −1 truffle/src/main/java/org/jruby/truffle/language/backtrace/BacktraceFormatter.java
  203. +4 −4 truffle/src/main/java/org/jruby/truffle/language/constants/GetConstantNode.java
  204. +1 −1 truffle/src/main/java/org/jruby/truffle/language/constants/LookupConstantNode.java
  205. +1 −1 truffle/src/main/java/org/jruby/truffle/language/constants/LookupConstantWithLexicalScopeNode.java
  206. +1 −1 truffle/src/main/java/org/jruby/truffle/language/constants/ReadConstantWithLexicalScopeNode.java
  207. +1 −1 truffle/src/main/java/org/jruby/truffle/language/constants/ReadLiteralConstantNode.java
  208. +16 −26 truffle/src/main/java/org/jruby/truffle/language/constants/WriteConstantNode.java
  209. +1 −1 truffle/src/main/java/org/jruby/truffle/language/dispatch/CachedBoxedDispatchNode.java
  210. +1 −1 truffle/src/main/java/org/jruby/truffle/language/dispatch/CachedBoxedSymbolDispatchNode.java
  211. +1 −1 truffle/src/main/java/org/jruby/truffle/language/dispatch/CachedMethodMissingDispatchNode.java
  212. +1 −1 truffle/src/main/java/org/jruby/truffle/language/dispatch/CachedReturnMissingDispatchNode.java
  213. +1 −1 truffle/src/main/java/org/jruby/truffle/language/dispatch/CachedSingletonDispatchNode.java
  214. +7 −0 truffle/src/main/java/org/jruby/truffle/language/dispatch/CallDispatchHeadNode.java
  215. +1 −1 truffle/src/main/java/org/jruby/truffle/language/dispatch/RubyCallNode.java
  216. +1 −1 truffle/src/main/java/org/jruby/truffle/language/dispatch/UnresolvedDispatchNode.java
  217. +1 −1 truffle/src/main/java/org/jruby/truffle/language/exceptions/TopLevelRaiseHandler.java
  218. +1 −1 truffle/src/main/java/org/jruby/truffle/language/globals/ReadMatchReferenceNode.java
  219. +1 −1 truffle/src/main/java/org/jruby/truffle/language/loader/FeatureLoader.java
  220. +1 −1 truffle/src/main/java/org/jruby/truffle/language/methods/AddMethodNode.java
  221. +1 −1 truffle/src/main/java/org/jruby/truffle/language/methods/CallBoundMethodNode.java
  222. +1 −1 truffle/src/main/java/org/jruby/truffle/language/methods/ExceptionTranslatingNode.java
  223. +1 −1 truffle/src/main/java/org/jruby/truffle/language/methods/InternalMethod.java
  224. +1 −1 truffle/src/main/java/org/jruby/truffle/language/methods/LookupMethodNode.java
  225. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/AllocateObjectNode.java
  226. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/DefineClassNode.java
  227. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/DefineModuleNode.java
  228. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/FreezeNode.java
  229. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/IsANode.java
  230. +9 −1 truffle/src/main/java/org/jruby/truffle/language/objects/IsFrozenNode.java
  231. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/IsTaintedNode.java
  232. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/LogicalClassNode.java
  233. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/MetaClassNode.java
  234. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/ObjectGraph.java
  235. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/ObjectIDOperations.java
  236. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/RunModuleDefinitionNode.java
  237. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/ShapeCachingGuards.java
  238. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/SingletonClassNode.java
  239. +1 −1 truffle/src/main/java/org/jruby/truffle/language/objects/TaintNode.java
  240. +8 −6 truffle/src/main/java/org/jruby/truffle/language/parser/jruby/BodyTranslator.java
  241. +1 −1 truffle/src/main/java/org/jruby/truffle/language/supercall/LookupSuperMethodNode.java
  242. +1 −1 truffle/src/main/java/org/jruby/truffle/language/threadlocal/ThreadLocalObjectNode.java
  243. +1 −1 truffle/src/main/java/org/jruby/truffle/language/yield/CallBlockNode.java
  244. +1 −1 truffle/src/main/java/org/jruby/truffle/language/yield/YieldNode.java
  245. +5 −5 truffle/src/main/java/org/jruby/truffle/stdlib/CoverageNodes.java
  246. +4 −4 truffle/src/main/java/org/jruby/truffle/stdlib/EtcNodes.java
  247. +5 −5 truffle/src/main/java/org/jruby/truffle/stdlib/ObjSpaceNodes.java
  248. +22 −12 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/AbstractAddNode.java
  249. +55 −20 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/AbstractDivNode.java
  250. +44 −21 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/AbstractMultNode.java
  251. +18 −9 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/AbstractSubNode.java
  252. +33 −41 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/BigDecimalCastNode.java
  253. +9 −10 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/BigDecimalCoerceNode.java
  254. +0 −6 ...fle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/BigDecimalCoreMethodArrayArgumentsNode.java
  255. +62 −74 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/BigDecimalCoreMethodNode.java
  256. +8 −14 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/BigDecimalNodes.java
  257. +1 −1 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/BigDecimalOpNode.java
  258. +128 −107 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/CreateBigDecimalNode.java
  259. +17 −15 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/GetIntegerConstantNode.java
  260. +5 −5 truffle/src/main/java/org/jruby/truffle/stdlib/digest/DigestNodes.java
  261. +5 −5 truffle/src/main/java/org/jruby/truffle/stdlib/psych/PsychEmitterNodes.java
  262. +5 −5 truffle/src/main/java/org/jruby/truffle/stdlib/psych/PsychParserNodes.java
  263. +1 −1 truffle/src/main/java/org/jruby/truffle/tools/InstrumentationServerManager.java
  264. +1 −1 truffle/src/main/java/org/jruby/truffle/tools/simpleshell/SimpleShell.java
2 changes: 1 addition & 1 deletion truffle/pom.rb
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@

properties( 'polyglot.dump.pom' => 'pom.xml',
'polyglot.dump.readonly' => true,
'truffle.version' => '0.13',
'truffle.version' => '4c29f37f94a46b302f0007432285f607a9a3fe2a-SNAPSHOT',
'jruby.basedir' => '${basedir}/..' )

jar 'org.yaml:snakeyaml:1.14'
2 changes: 1 addition & 1 deletion truffle/pom.xml
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ DO NOT MODIFIY - GENERATED CODE
<jruby.basedir>${basedir}/..</jruby.basedir>
<polyglot.dump.readonly>true</polyglot.dump.readonly>
<polyglot.dump.pom>pom.xml</polyglot.dump.pom>
<truffle.version>0.13</truffle.version>
<truffle.version>4c29f37f94a46b302f0007432285f607a9a3fe2a-SNAPSHOT</truffle.version>
</properties>
<dependencies>
<dependency>
Original file line number Diff line number Diff line change
@@ -7,15 +7,18 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core;
package org.jruby.truffle;

import com.oracle.truffle.api.object.HiddenKey;
import org.jruby.truffle.core.HandleLayout;
import org.jruby.truffle.core.HandleLayoutImpl;
import org.jruby.truffle.core.array.ArrayLayout;
import org.jruby.truffle.core.array.ArrayLayoutImpl;
import org.jruby.truffle.core.basicobject.BasicObjectLayout;
import org.jruby.truffle.core.basicobject.BasicObjectLayoutImpl;
import org.jruby.truffle.core.binding.BindingLayout;
import org.jruby.truffle.core.binding.BindingLayoutImpl;
import org.jruby.truffle.core.dir.DirLayoutImpl;
import org.jruby.truffle.core.encoding.EncodingConverterLayout;
import org.jruby.truffle.core.encoding.EncodingConverterLayoutImpl;
import org.jruby.truffle.core.encoding.EncodingLayout;
@@ -58,8 +61,7 @@
import org.jruby.truffle.core.rubinius.AtomicReferenceLayoutImpl;
import org.jruby.truffle.core.rubinius.ByteArrayLayout;
import org.jruby.truffle.core.rubinius.ByteArrayLayoutImpl;
import org.jruby.truffle.core.rubinius.DirLayout;
import org.jruby.truffle.core.rubinius.DirLayoutImpl;
import org.jruby.truffle.core.dir.DirLayout;
import org.jruby.truffle.core.rubinius.IOBufferLayout;
import org.jruby.truffle.core.rubinius.IOBufferLayoutImpl;
import org.jruby.truffle.core.rubinius.IOLayout;
10 changes: 5 additions & 5 deletions truffle/src/main/java/org/jruby/truffle/RubyContext.java
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
import org.jruby.truffle.core.module.ModuleOperations;
import org.jruby.truffle.core.objectspace.ObjectSpaceManager;
import org.jruby.truffle.core.rope.RopeTable;
import org.jruby.truffle.core.rubinius.RubiniusPrimitiveManager;
import org.jruby.truffle.builtins.PrimitiveManager;
import org.jruby.truffle.core.string.CoreStrings;
import org.jruby.truffle.core.string.FrozenStrings;
import org.jruby.truffle.core.symbol.SymbolTable;
@@ -65,7 +65,7 @@ public class RubyContext extends ExecutionContext {

private final Options options = new Options();
private final RopeTable ropeTable = new RopeTable();
private final RubiniusPrimitiveManager rubiniusPrimitiveManager = new RubiniusPrimitiveManager();
private final PrimitiveManager primitiveManager = new PrimitiveManager();
private final JRubyInterop jrubyInterop = new JRubyInterop(this);
private final SafepointManager safepointManager = new SafepointManager(this);
private final SymbolTable symbolTable = new SymbolTable(this);
@@ -150,7 +150,7 @@ public RubyContext(Ruby jrubyRuntime, TruffleLanguage.Env env) {

org.jruby.Main.printTruffleTimeMetric("before-load-nodes");
coreLibrary.addCoreMethods();
rubiniusPrimitiveManager.addAnnotatedPrimitives();
primitiveManager.addAnnotatedPrimitives();
org.jruby.Main.printTruffleTimeMetric("after-load-nodes");

// Load the reset of the core library
@@ -291,8 +291,8 @@ public CompilerOptions getCompilerOptions() {
return compilerOptions;
}

public RubiniusPrimitiveManager getRubiniusPrimitiveManager() {
return rubiniusPrimitiveManager;
public PrimitiveManager getPrimitiveManager() {
return primitiveManager;
}

public CoverageManager getCoverageManager() {
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core;
package org.jruby.truffle.builtins;

import com.oracle.truffle.api.dsl.NodeChild;
import com.oracle.truffle.api.dsl.NodeChildren;
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core.rubinius;
package org.jruby.truffle.builtins;

import com.oracle.truffle.api.frame.VirtualFrame;
import com.oracle.truffle.api.profiles.ConditionProfile;
@@ -18,17 +18,17 @@
import org.jruby.truffle.language.control.ReturnID;

/**
* Node which wraps a {@link RubiniusPrimitiveNode}, providing the implicit control flow that you get with calls to
* Node which wraps a {@link PrimitiveNode}, providing the implicit control flow that you get with calls to
* Rubinius primitives.
*/
public class CallRubiniusPrimitiveNode extends RubyNode {
public class CallPrimitiveNode extends RubyNode {

@Child private RubyNode primitive;
private final ReturnID returnID;

private final ConditionProfile primitiveSucceededCondition = ConditionProfile.createBinaryProfile();

public CallRubiniusPrimitiveNode(RubyContext context, SourceSection sourceSection, RubyNode primitive, ReturnID returnID) {
public CallPrimitiveNode(RubyContext context, SourceSection sourceSection, RubyNode primitive, ReturnID returnID) {
super(context, sourceSection);
this.primitive = primitive;
this.returnID = returnID;
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core;
package org.jruby.truffle.builtins;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
@@ -18,6 +18,6 @@
@Retention(RetentionPolicy.RUNTIME)
public @interface CoreClass {

String name();
String value();

}
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core;
package org.jruby.truffle.builtins;

import org.jruby.runtime.Visibility;
import org.jruby.truffle.language.methods.UnsupportedOperationBehavior;
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core;
package org.jruby.truffle.builtins;

import com.oracle.truffle.api.dsl.NodeChild;
import com.oracle.truffle.api.source.SourceSection;
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core;
package org.jruby.truffle.builtins;

import com.oracle.truffle.api.dsl.GenerateNodeFactory;
import com.oracle.truffle.api.source.SourceSection;
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core;
package org.jruby.truffle.builtins;

import com.oracle.truffle.api.Truffle;
import com.oracle.truffle.api.dsl.GeneratedBy;
@@ -18,6 +18,9 @@
import com.oracle.truffle.api.source.SourceSection;
import org.jruby.runtime.Visibility;
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.Layouts;
import org.jruby.truffle.core.RaiseIfFrozenNode;
import org.jruby.truffle.core.ReturnEnumeratorIfNoBlockNode;
import org.jruby.truffle.core.array.ArrayUtils;
import org.jruby.truffle.core.cast.TaintResultNode;
import org.jruby.truffle.core.module.ModuleOperations;
@@ -77,7 +80,7 @@ private DynamicObject getSingletonClass(Object object) {

private void addCoreMethod(MethodDetails methodDetails) {
DynamicObject module;
String fullName = methodDetails.getClassAnnotation().name();
String fullName = methodDetails.getClassAnnotation().value();

if (fullName.equals("main")) {
module = getSingletonClass(context.getCoreLibrary().getMainObject());
@@ -154,7 +157,7 @@ private static void addMethod(RubyContext context, DynamicObject module, RubyRoo
private static RubyRootNode makeGenericMethod(RubyContext context, MethodDetails methodDetails) {
final CoreMethod method = methodDetails.getMethodAnnotation();

final SourceSection sourceSection = CoreSourceSection.createCoreSourceSection(methodDetails.getClassAnnotation().name(), method.names()[0]);
final SourceSection sourceSection = CoreSourceSection.createCoreSourceSection(methodDetails.getClassAnnotation().value(), method.names()[0]);

final int required = method.required();
final int optional = method.optional();
@@ -348,7 +351,7 @@ public NodeFactory<? extends RubyNode> getNodeFactory() {
}

public String getIndicativeName() {
return classAnnotation.name() + "#" + methodAnnotation.names()[0];
return classAnnotation.value() + "#" + methodAnnotation.names()[0];
}
}

Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core;
package org.jruby.truffle.builtins;

import com.oracle.truffle.api.source.SourceSection;

Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core.rubinius;
package org.jruby.truffle.builtins;

import com.oracle.truffle.api.frame.VirtualFrame;
import com.oracle.truffle.api.profiles.ConditionProfile;
Original file line number Diff line number Diff line change
@@ -7,17 +7,14 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core;
package org.jruby.truffle.builtins;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
* A method that only exists in Rubinius but not in normal Ruby.
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.SOURCE)
public @interface RubiniusOnly {
public @interface NonStandard {
}
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core.rubinius;
package org.jruby.truffle.builtins;

import org.jruby.truffle.platform.UnsafeGroup;

@@ -18,7 +18,7 @@

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface RubiniusPrimitive {
public @interface Primitive {

String name();

Original file line number Diff line number Diff line change
@@ -7,22 +7,23 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core.rubinius;
package org.jruby.truffle.builtins;

import com.oracle.truffle.api.dsl.GenerateNodeFactory;
import com.oracle.truffle.api.dsl.NodeChild;
import com.oracle.truffle.api.source.SourceSection;
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.builtins.PrimitiveNode;
import org.jruby.truffle.language.RubyNode;

@GenerateNodeFactory
@NodeChild(value = "arguments", type = RubyNode[].class)
public abstract class RubiniusPrimitiveArrayArgumentsNode extends RubiniusPrimitiveNode {
public abstract class PrimitiveArrayArgumentsNode extends PrimitiveNode {

public RubiniusPrimitiveArrayArgumentsNode() {
public PrimitiveArrayArgumentsNode() {
}

public RubiniusPrimitiveArrayArgumentsNode(RubyContext context, SourceSection sourceSection) {
public PrimitiveArrayArgumentsNode(RubyContext context, SourceSection sourceSection) {
super(context, sourceSection);
}

Original file line number Diff line number Diff line change
@@ -7,12 +7,12 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core.rubinius;
package org.jruby.truffle.builtins;

import com.oracle.truffle.api.object.DynamicObject;
import com.oracle.truffle.api.source.SourceSection;
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.core.Layouts;
import org.jruby.truffle.Layouts;
import org.jruby.truffle.core.method.MethodNodesFactory;
import org.jruby.truffle.language.NotProvided;
import org.jruby.truffle.language.RubyGuards;
@@ -23,11 +23,11 @@
import org.jruby.truffle.language.control.ReturnID;
import org.jruby.truffle.language.literal.ObjectLiteralNode;

public class RubiniusPrimitiveCallConstructor implements RubiniusPrimitiveConstructor {
public class PrimitiveCallConstructor implements PrimitiveConstructor {

private final DynamicObject method;

public RubiniusPrimitiveCallConstructor(DynamicObject method) {
public PrimitiveCallConstructor(DynamicObject method) {
assert RubyGuards.isRubyMethod(method);
this.method = method;
}
@@ -39,7 +39,7 @@ public int getPrimitiveArity() {

@Override
public RubyNode createCallPrimitiveNode(RubyContext context, SourceSection sourceSection, ReturnID returnID) {
return new CallRubiniusPrimitiveNode(context, sourceSection,
return new CallPrimitiveNode(context, sourceSection,
MethodNodesFactory.CallNodeFactory.create(context, sourceSection, new RubyNode[] {
new ObjectLiteralNode(context, sourceSection, method),
new ReadAllArgumentsNode(),
Original file line number Diff line number Diff line change
@@ -7,14 +7,14 @@
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.core.rubinius;
package org.jruby.truffle.builtins;

import com.oracle.truffle.api.source.SourceSection;
import org.jruby.truffle.RubyContext;
import org.jruby.truffle.language.RubyNode;
import org.jruby.truffle.language.control.ReturnID;

public interface RubiniusPrimitiveConstructor {
public interface PrimitiveConstructor {
public int getPrimitiveArity();

public RubyNode createCallPrimitiveNode(RubyContext context, SourceSection sourceSection, ReturnID returnID);
Loading