Mercurial > hg > truffle
diff truffle/com.oracle.truffle.object/src/com/oracle/truffle/object/Locations.java @ 21968:112aba5e3e12
SimpleLanguage: Fix Truffle compilation boundaries
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Mon, 22 Jun 2015 15:25:07 -0700 |
parents | 9c8c0937da41 |
children | dc83cc1f94f2 |
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.object/src/com/oracle/truffle/object/Locations.java Mon Jun 22 10:34:54 2015 -0700 +++ b/truffle/com.oracle.truffle.object/src/com/oracle/truffle/object/Locations.java Mon Jun 22 15:25:07 2015 -0700 @@ -268,6 +268,7 @@ } else if (type == Object.class) { return true; } else { + CompilerDirectives.transferToInterpreter(); throw new IllegalStateException(); } }