Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLMain.java @ 21689:ed234a3178af
Behavior of null-like values is now part of the TCK
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 03 Jun 2015 10:17:19 +0200 |
parents | 5fa7935c5de3 |
children | c8418635b575 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLMain.java Tue Jun 02 21:15:59 2015 -0700 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLMain.java Wed Jun 03 10:17:19 2015 +0200 @@ -242,7 +242,7 @@ /* Call the main entry point, without any arguments. */ try { result = main.invoke(null); - if (result != SLNull.SINGLETON) { + if (result != null) { out.println(result); } } catch (UnsupportedSpecializationException ex) {