Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Truffle] EncodingManager add boundary for compilation issue
Browse files Browse the repository at this point in the history
Brandon Fish committed Sep 19, 2016
1 parent 8ca1751 commit 3ff74fb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -61,6 +61,7 @@ public synchronized List<DynamicObject> getUnsafeEncodingList() {
return ENCODING_LIST_BY_ENCODING_LIST_INDEX;
}

@TruffleBoundary
public synchronized DynamicObject getRubyEncoding(Encoding encoding) {
DynamicObject rubyEncoding = ENCODING_LIST_BY_ENCODING_INDEX.get(encoding.getIndex());

0 comments on commit 3ff74fb

Please sign in to comment.