Skip to content
Permalink
Browse files
[Truffle] Fix compilation.
  • Loading branch information
chrisseaton committed Dec 2, 2014
1 parent 7e82292 commit 26b567560ca15e4a918e12870c8cebe4c018caaf
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/org/jruby/truffle/nodes/core/KernelNodes.java
@@ -63,7 +63,7 @@ public SameOrEqualNode(SameOrEqualNode prev) {
protected boolean areSame(VirtualFrame frame, Object left, Object right) {
if (referenceEqualNode == null) {
CompilerDirectives.transferToInterpreterAndInvalidate();
referenceEqualNode = insert(BasicObjectNodesFactory.ReferenceEqualNodeFactory.create(getContext(), getSourceSection(), new RubyNode[]{null, null}));
referenceEqualNode = insert(BasicObjectNodesFactory.ReferenceEqualNodeFactory.create(getContext(), getSourceSection(), null, null));
}
return referenceEqualNode.executeReferenceEqual(frame, left, right);
}

0 comments on commit 26b5675

Please sign in to comment.