Skip to content


Remove old method caching that was designed to support Truffle but ne…
Browse files Browse the repository at this point in the history
…ver used.
  • Loading branch information
chrisseaton committed Apr 18, 2015
1 parent 709766f commit a8be7b9
Showing 1 changed file with 0 additions and 12 deletions.
Expand Up @@ -17,9 +17,6 @@

public class MethodNodes {

// TODO(CS): MethodNodes will never leave this cache
private final static Map<String, MethodNodes> cache = new ConcurrentHashMap<>();

private final ArgsNode argsNode;
private final Node bodyNode;

Expand All @@ -39,13 +36,4 @@ public Node getBodyNode() {
return bodyNode;

public static void cache(String methodJavaName, MethodNodes nodes) {
cache.put(methodJavaName, nodes);

public static MethodNodes lookup(String methodJavaName) {
return cache.get(methodJavaName);


0 comments on commit a8be7b9

Please sign in to comment.