Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
eliminate unnecessary try-finally per Shu's request
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Herman committed Feb 14, 2012
1 parent ca4c6f0 commit b88ee40
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lib/interpreter.js
Expand Up @@ -1222,12 +1222,10 @@ var FIp = FunctionInternals.prototype = {

toString: function() {
var parenthesized = this.node.parenthesized;
try {
this.node.parenthesized = false;
return decompiler.pp(this.node);
} finally {
this.node.parenthesized = parenthesized;
}
this.node.parenthesized = false;
var result = decompiler.pp(this.node);
this.node.parenthesized = parenthesized;
return result;
}
};

Expand Down

0 comments on commit b88ee40

Please sign in to comment.