Skip to content
Browse files

eliminate unnecessary try-finally per Shu's request

  • Loading branch information...
1 parent ca4c6f0 commit b88ee40d5e866b6c18d4e8f446aa98be90b9f2b9 @dherman dherman committed Feb 13, 2012
Showing with 4 additions and 6 deletions.
  1. +4 −6 lib/interpreter.js
View
10 lib/interpreter.js
@@ -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;
}
};

0 comments on commit b88ee40

Please sign in to comment.
Something went wrong with that request. Please try again.