Skip to content

Commit

Permalink
[Truffle] Fix compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Dec 2, 2014
1 parent 7e82292 commit 26b5675
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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);
}
Expand Down

0 comments on commit 26b5675

Please sign in to comment.