Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: src/ast.h

Issue 5626: Get rid of the local variable we use to keep the state... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/codegen-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast.h
===================================================================
--- src/ast.h (revision 399)
+++ src/ast.h (working copy)
@@ -568,24 +568,15 @@
class TryFinally: public TryStatement {
public:
- TryFinally(Block* try_block, Expression* finally_var, Block* finally_block)
+ TryFinally(Block* try_block, Block* finally_block)
: TryStatement(try_block),
- finally_var_(finally_var),
finally_block_(finally_block) { }
virtual void Accept(Visitor* v);
- // If the finally block is non-trivial it may be problematic to have
- // extra stuff on the expression stack while evaluating it. The
- // finally variable is used to hold the state instead of storing it
- // on the stack. It may be NULL in which case the state is stored on
- // the stack.
- Expression* finally_var() const { return finally_var_; }
-
Block* finally_block() const { return finally_block_; }
private:
- Expression* finally_var_;
Block* finally_block_;
};
« no previous file with comments | « no previous file | src/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698