Skip to content

Commit

Permalink
[Truffle] Remove unneeded transfer in Array#push.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Sep 16, 2014
1 parent ddc62c4 commit b55585c
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -2621,8 +2621,6 @@ public RubyArray pushEmptySingleIntegerLong(RubyArray array, Object... values) {

@Specialization(guards = "isNull")
public RubyArray pushEmptyObjects(RubyArray array, Object... values) {
CompilerDirectives.transferToInterpreter();

array.setStore(values, values.length);
return array;
}
Expand Down

0 comments on commit b55585c

Please sign in to comment.