Skip to content

Commit

Permalink
[Truffle] Avoid doing twice the lookup.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Nov 7, 2014
1 parent fad8862 commit 8a13045
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -258,7 +258,7 @@ public void undefMethod(RubyNode currentNode, String methodName) {
if (method == null) {
throw new UnsupportedOperationException();
} else {
undefMethod(currentNode, ModuleOperations.lookupMethod(this, methodName));
undefMethod(currentNode, method);
}
}

Expand Down

0 comments on commit 8a13045

Please sign in to comment.