Skip to content

Commit

Permalink
[Truffle] Correction in new Array#[]= specialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjfish committed Mar 31, 2015
1 parent c3af11f commit fb55c17
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -434,7 +434,7 @@ public Object set(VirtualFrame frame, RubyArray array, Object indexObject, Objec
toIntNode = insert(ToIntNodeFactory.create(getContext(), getSourceSection(), null));
}
final int index = toIntNode.executeIntegerFixnum(frame, indexObject);
return writeNode.executeWrite(frame, array, index, value);
return set(frame, array, index, value, unused);
}

@Specialization
Expand Down

0 comments on commit fb55c17

Please sign in to comment.