Skip to content

Commit

Permalink
[Truffle] EncodingManager add boundary for compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Fish committed Sep 19, 2016
1 parent 8ca1751 commit 3ff74fb
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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());

Expand Down

0 comments on commit 3ff74fb

Please sign in to comment.