Mercurial > hg > truffle
diff truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/Accessor.java @ 22373:dea950d41ef3
Make CallTarget caching local to PolyglotEngine instances.
author | Christian Humer <christian.humer@oracle.com> |
---|---|
date | Tue, 17 Nov 2015 16:50:11 +0100 |
parents | 7d9b7365b675 |
children | 299c279c87b3 |
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/Accessor.java Tue Nov 17 11:02:55 2015 +0100 +++ b/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/Accessor.java Tue Nov 17 16:50:11 2015 +0100 @@ -153,8 +153,8 @@ return API.attachEnv(vm, language, stdOut, stdErr, stdIn, instrumenter); } - protected Object eval(TruffleLanguage<?> l, Source s) throws IOException { - return API.eval(l, s); + protected CallTarget parseForEval(TruffleLanguage<?> l, Source s) throws IOException { + return API.parseForEval(l, s); } protected Object evalInContext(Object vm, SuspendedEvent ev, String code, FrameInstance frame) throws IOException {