Mercurial > hg > truffle
diff truffle/com.oracle.truffle.sl.tools/src/com/oracle/truffle/sl/tools/debug/SLREPLHandler.java @ 22436:46a6d3eb790c
Adopt TCK and Polyglot after changes to execute and invoke message
author | Matthias Grimmer <grimmer@ssw.jku.at> |
---|---|
date | Mon, 30 Nov 2015 10:24:00 +0100 |
parents | f8f790fc01da |
children |
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.sl.tools/src/com/oracle/truffle/sl/tools/debug/SLREPLHandler.java Thu Nov 26 14:22:48 2015 +0100 +++ b/truffle/com.oracle.truffle.sl.tools/src/com/oracle/truffle/sl/tools/debug/SLREPLHandler.java Mon Nov 30 10:24:00 2015 +0100 @@ -132,7 +132,7 @@ vm.eval(Source.fromFileName(file.getPath())); PolyglotEngine.Value main = vm.findGlobalSymbol("main"); if (main != null) { - main.invoke(null); + main.execute(); } final String path = file.getCanonicalPath(); reply.put(REPLMessage.FILE_PATH, path);