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: ea0491535d21
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 07c0c57dbe8c
Choose a head ref
  • 12 commits
  • 12 files changed
  • 1 contributor

Commits on Apr 3, 2016

  1. [Truffle] Formatting.

    chrisseaton committed Apr 3, 2016
    Copy the full SHA
    2108fba View commit details

Commits on Apr 4, 2016

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d4620f0 View commit details
  2. Copy the full SHA
    f06fa00 View commit details
  3. Copy the full SHA
    113530b View commit details
  4. Copy the full SHA
    e69ff9f View commit details
  5. Copy the full SHA
    daa79ed View commit details
  6. Copy the full SHA
    5f8ac99 View commit details
  7. Copy the full SHA
    1d4de10 View commit details
  8. Copy the full SHA
    58f5f14 View commit details
  9. Copy the full SHA
    d3d396f View commit details
  10. Copy the full SHA
    b58b3ba View commit details
  11. Copy the full SHA
    07c0c57 View commit details
4 changes: 2 additions & 2 deletions truffle/src/main/java/org/jruby/truffle/core/MainNodes.java
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
@CoreClass(name = "main")
public abstract class MainNodes {

@CoreMethod(unsafeNeedsAudit = true, names = "public", rest = true, needsSelf = false, visibility = Visibility.PRIVATE)
@CoreMethod(names = "public", rest = true, needsSelf = false, visibility = Visibility.PRIVATE)
public abstract static class PublicNode extends CoreMethodArrayArgumentsNode {

@Child private ModuleNodes.PublicNode publicNode;
@@ -39,7 +39,7 @@ public DynamicObject doPublic(VirtualFrame frame, Object[] args) {
}
}

@CoreMethod(unsafeNeedsAudit = true, names = "private", rest = true, needsSelf = false, visibility = Visibility.PRIVATE)
@CoreMethod(names = "private", rest = true, needsSelf = false, visibility = Visibility.PRIVATE)
public abstract static class PrivateNode extends CoreMethodArrayArgumentsNode {

@Child private ModuleNodes.PrivateNode privateNode;
52 changes: 26 additions & 26 deletions truffle/src/main/java/org/jruby/truffle/core/MathNodes.java
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@
@CoreClass(name = "Math")
public abstract class MathNodes {

@CoreMethod(unsafeNeedsAudit = true, names = "acos", isModuleFunction = true, required = 1)
@CoreMethod(names = "acos", isModuleFunction = true, required = 1)
public abstract static class ACosNode extends SimpleMonadicMathNode {

public ACosNode(RubyContext context, SourceSection sourceSection) {
@@ -47,7 +47,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "acosh", isModuleFunction = true, required = 1)
@CoreMethod(names = "acosh", isModuleFunction = true, required = 1)
public abstract static class ACosHNode extends SimpleMonadicMathNode {

public ACosHNode(RubyContext context, SourceSection sourceSection) {
@@ -72,7 +72,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "asin", isModuleFunction = true, required = 1)
@CoreMethod(names = "asin", isModuleFunction = true, required = 1)
public abstract static class ASinNode extends SimpleMonadicMathNode {

public ASinNode(RubyContext context, SourceSection sourceSection) {
@@ -91,7 +91,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "asinh", isModuleFunction = true, required = 1)
@CoreMethod(names = "asinh", isModuleFunction = true, required = 1)
public abstract static class ASinHNode extends SimpleMonadicMathNode {

public ASinHNode(RubyContext context, SourceSection sourceSection) {
@@ -121,7 +121,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "atan", isModuleFunction = true, required = 1)
@CoreMethod(names = "atan", isModuleFunction = true, required = 1)
public abstract static class ATanNode extends SimpleMonadicMathNode {

public ATanNode(RubyContext context, SourceSection sourceSection) {
@@ -135,7 +135,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "atan2", isModuleFunction = true, required = 2)
@CoreMethod(names = "atan2", isModuleFunction = true, required = 2)
public abstract static class ATan2Node extends SimpleDyadicMathNode {

public ATan2Node(RubyContext context, SourceSection sourceSection) {
@@ -149,7 +149,7 @@ protected double doFunction(double a, double b) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "atanh", isModuleFunction = true, required = 1)
@CoreMethod(names = "atanh", isModuleFunction = true, required = 1)
public abstract static class ATanHNode extends SimpleMonadicMathNode {

public ATanHNode(RubyContext context, SourceSection sourceSection) {
@@ -184,7 +184,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "cbrt", isModuleFunction = true, required = 1)
@CoreMethod(names = "cbrt", isModuleFunction = true, required = 1)
public abstract static class CbRtNode extends SimpleMonadicMathNode {

public CbRtNode(RubyContext context, SourceSection sourceSection) {
@@ -198,7 +198,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "cos", isModuleFunction = true, required = 1)
@CoreMethod(names = "cos", isModuleFunction = true, required = 1)
public abstract static class CosNode extends SimpleMonadicMathNode {

public CosNode(RubyContext context, SourceSection sourceSection) {
@@ -212,7 +212,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "cosh", isModuleFunction = true, required = 1)
@CoreMethod(names = "cosh", isModuleFunction = true, required = 1)
public abstract static class CosHNode extends SimpleMonadicMathNode {

public CosHNode(RubyContext context, SourceSection sourceSection) {
@@ -226,7 +226,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "erf", isModuleFunction = true, required = 1)
@CoreMethod(names = "erf", isModuleFunction = true, required = 1)
public abstract static class ErfNode extends SimpleMonadicMathNode {

public ErfNode(RubyContext context, SourceSection sourceSection) {
@@ -254,7 +254,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "erfc", isModuleFunction = true, required = 1)
@CoreMethod(names = "erfc", isModuleFunction = true, required = 1)
public abstract static class ErfcNode extends SimpleMonadicMathNode {

public ErfcNode(RubyContext context, SourceSection sourceSection) {
@@ -295,7 +295,7 @@ public static double erfc(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "exp", isModuleFunction = true, required = 1)
@CoreMethod(names = "exp", isModuleFunction = true, required = 1)
public abstract static class ExpNode extends SimpleMonadicMathNode {

public ExpNode(RubyContext context, SourceSection sourceSection) {
@@ -309,7 +309,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "frexp", isModuleFunction = true, required = 1)
@CoreMethod(names = "frexp", isModuleFunction = true, required = 1)
public abstract static class FrExpNode extends CoreMethodArrayArgumentsNode {

@Child private IsANode isANode;
@@ -373,7 +373,7 @@ public DynamicObject frexp(VirtualFrame frame, Object a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "gamma", isModuleFunction = true, required = 1)
@CoreMethod(names = "gamma", isModuleFunction = true, required = 1)
public abstract static class GammaNode extends SimpleMonadicMathNode {

public GammaNode(RubyContext context, SourceSection sourceSection) {
@@ -426,7 +426,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "hypot", isModuleFunction = true, required = 2)
@CoreMethod(names = "hypot", isModuleFunction = true, required = 2)
public abstract static class HypotNode extends SimpleDyadicMathNode {

public HypotNode(RubyContext context, SourceSection sourceSection) {
@@ -440,7 +440,7 @@ protected double doFunction(double a, double b) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "ldexp", isModuleFunction = true, required = 2)
@CoreMethod(names = "ldexp", isModuleFunction = true, required = 2)
public abstract static class LdexpNode extends CoreMethodArrayArgumentsNode {

@Child private IsANode isANode;
@@ -535,7 +535,7 @@ public double function(VirtualFrame frame, Object a, Object b) {



@CoreMethod(unsafeNeedsAudit = true, names = "lgamma", isModuleFunction = true, required = 1)
@CoreMethod(names = "lgamma", isModuleFunction = true, required = 1)
public abstract static class LGammaNode extends CoreMethodArrayArgumentsNode {

@Child private IsANode isANode;
@@ -588,7 +588,7 @@ public DynamicObject lgamma(VirtualFrame frame, Object a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "log", isModuleFunction = true, required = 1, optional = 1)
@CoreMethod(names = "log", isModuleFunction = true, required = 1, optional = 1)
public abstract static class LogNode extends SimpleDyadicMathNode {

public LogNode(RubyContext context, SourceSection sourceSection) {
@@ -646,7 +646,7 @@ protected double doFunction(double a, double b) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "log10", isModuleFunction = true, required = 1)
@CoreMethod(names = "log10", isModuleFunction = true, required = 1)
public abstract static class Log10Node extends SimpleMonadicMathNode {

public Log10Node(RubyContext context, SourceSection sourceSection) {
@@ -665,7 +665,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "log2", isModuleFunction = true, required = 1)
@CoreMethod(names = "log2", isModuleFunction = true, required = 1)
public abstract static class Log2Node extends SimpleMonadicMathNode {

private final double LOG2 = Math.log(2);
@@ -686,7 +686,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "sin", isModuleFunction = true, required = 1)
@CoreMethod(names = "sin", isModuleFunction = true, required = 1)
public abstract static class SinNode extends SimpleMonadicMathNode {

public SinNode(RubyContext context, SourceSection sourceSection) {
@@ -700,7 +700,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "sinh", isModuleFunction = true, required = 1)
@CoreMethod(names = "sinh", isModuleFunction = true, required = 1)
public abstract static class SinHNode extends SimpleMonadicMathNode {

public SinHNode(RubyContext context, SourceSection sourceSection) {
@@ -714,7 +714,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "tan", isModuleFunction = true, required = 1)
@CoreMethod(names = "tan", isModuleFunction = true, required = 1)
public abstract static class TanNode extends SimpleMonadicMathNode {

public TanNode(RubyContext context, SourceSection sourceSection) {
@@ -728,7 +728,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "tanh", isModuleFunction = true, required = 1)
@CoreMethod(names = "tanh", isModuleFunction = true, required = 1)
public abstract static class TanHNode extends SimpleMonadicMathNode {

public TanHNode(RubyContext context, SourceSection sourceSection) {
@@ -742,7 +742,7 @@ protected double doFunction(double a) {

}

@CoreMethod(unsafeNeedsAudit = true, names = "sqrt", isModuleFunction = true, required = 1)
@CoreMethod(names = "sqrt", isModuleFunction = true, required = 1)
public abstract static class SqrtNode extends SimpleMonadicMathNode {

public SqrtNode(RubyContext context, SourceSection sourceSection) {
Loading