Skip to content

Commit

Permalink
[Truffle] Add missing boundary.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed Nov 9, 2016
1 parent 78ac114 commit f1169c9
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -9,6 +9,8 @@
*/
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 @@ -152,6 +154,7 @@ public Object[] toArray() {
}

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

0 comments on commit f1169c9

Please sign in to comment.