Skip to content

Commit

Permalink
Remove additional "if (!method.key)" check.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcav committed Oct 9, 2014
1 parent 0a6b67f commit 5fbc4c4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions classes.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,6 @@ Classes.prototype.getMethod = function(classInfo, methodKey) {
var methods = c.methods;
for (var i=0; i<methods.length; ++i) {
var method = methods[i];
if (!method.key) {
method.key = (method.isStatic ? "S" : "I") + "." + method.name + "." + method.signature;
}
if (method.key === methodKey) {
return classInfo.vmc[methodKey] = method;
}
Expand Down

0 comments on commit 5fbc4c4

Please sign in to comment.