Skip to content

Commit

Permalink
[Truffle] Remove extra boundary, callers need to take care and wrap t…
Browse files Browse the repository at this point in the history
…he iterator.
  • Loading branch information
eregon committed Nov 9, 2016
1 parent 26485e8 commit a47c205
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -9,8 +9,6 @@
*/
package org.jruby.truffle.core.queue;

import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary;

import java.util.Collection;
import java.util.Iterator;
import java.util.concurrent.BlockingQueue;
Expand Down Expand Up @@ -154,7 +152,6 @@ public Object[] toArray() {
}

@Override
@TruffleBoundary
public Iterator<T> iterator() {
return queue.iterator();
}
Expand Down

0 comments on commit a47c205

Please sign in to comment.