Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
21967:08db96a633b9 | 21968:112aba5e3e12 |
---|---|
266 } else if (type == boolean.class) { | 266 } else if (type == boolean.class) { |
267 return value instanceof Boolean; | 267 return value instanceof Boolean; |
268 } else if (type == Object.class) { | 268 } else if (type == Object.class) { |
269 return true; | 269 return true; |
270 } else { | 270 } else { |
271 CompilerDirectives.transferToInterpreter(); | |
271 throw new IllegalStateException(); | 272 throw new IllegalStateException(); |
272 } | 273 } |
273 } | 274 } |
274 } | 275 } |
275 | 276 |