# HG changeset patch # User Michael Van De Vanter # Date 1447810109 28800 # Node ID c350ef0119c6337c5f7f3ec330dd553bbe653f7c # Parent 298c63b1d55510629abc4d25a99e00d087c73e3a Truffle/SL: very minor tweaks, part of REPL work diff -r 298c63b1d555 -r c350ef0119c6 truffle/com.oracle.truffle.sl.tools/src/com/oracle/truffle/sl/tools/debug/SLREPL.java --- 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 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. diff -r 298c63b1d555 -r c350ef0119c6 truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLLanguage.java --- 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() {