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 Oct 27, 2016
1 parent d8141bb commit 8a74a73
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -9,6 +9,7 @@
*/
package org.jruby.truffle.language.control;

import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary;
import com.oracle.truffle.api.nodes.ControlFlowException;
import com.oracle.truffle.api.object.DynamicObject;
import org.jruby.truffle.Layouts;
Expand All @@ -28,6 +29,7 @@ public DynamicObject getException() {
}

@Override
@TruffleBoundary
public String getMessage() {
Object message = Layouts.EXCEPTION.getMessage(exception);
if (message != null) {
Expand Down

0 comments on commit 8a74a73

Please sign in to comment.