Mercurial > hg > truffle
changeset 22460:c350ef0119c6
Truffle/SL: very minor tweaks, part of REPL work
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Tue, 17 Nov 2015 17:28:29 -0800 |
parents | 298c63b1d555 |
children | c17794973b64 |
files | truffle/com.oracle.truffle.sl.tools/src/com/oracle/truffle/sl/tools/debug/SLREPL.java truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLLanguage.java |
diffstat | 2 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.sl.tools/src/com/oracle/truffle/sl/tools/debug/SLREPL.java Thu Nov 12 12:24:45 2015 -0800 +++ b/truffle/com.oracle.truffle.sl.tools/src/com/oracle/truffle/sl/tools/debug/SLREPL.java Tue Nov 17 17:28:29 2015 -0800 @@ -40,7 +40,6 @@ */ package com.oracle.truffle.sl.tools.debug; -import com.oracle.truffle.sl.SLLanguage; import com.oracle.truffle.sl.nodes.instrument.SLDefaultVisualizer; import com.oracle.truffle.tools.debug.shell.server.REPLServer; @@ -50,8 +49,6 @@ */ public final class SLREPL { - @SuppressWarnings("unused") private static final Class<SLLanguage> DYNAMIC_DEPENDENCY = com.oracle.truffle.sl.SLLanguage.class; - public static void main(String[] args) { // Cheating for the prototype: start from SL, rather than from the client.
--- a/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLLanguage.java Thu Nov 12 12:24:45 2015 -0800 +++ b/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLLanguage.java Tue Nov 17 17:28:29 2015 -0800 @@ -472,7 +472,7 @@ @Override protected Object evalInContext(Source source, Node node, MaterializedFrame mFrame) throws IOException { - throw new IllegalStateException("evalInContext not supported in this language"); + throw new IllegalStateException("evalInContext not supported in SL"); } public Node createFindContextNode0() {