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

Unified Diff: src/ast.h

Issue 42017: Fix issue 265 by handling extra statement state on the frame based on... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 9 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 | « src/assembler-ia32.h ('k') | src/codegen-arm.h » ('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 1481)
+++ src/ast.h (working copy)
@@ -202,11 +202,6 @@
// Code generation
BreakTarget* break_target() { return &break_target_; }
- // Used during code generation for restoring the stack when a
- // break/continue crosses a statement that keeps stuff on the stack.
- int break_stack_height() { return break_stack_height_; }
- void set_break_stack_height(int height) { break_stack_height_ = height; }
-
// Testers.
bool is_target_for_anonymous() const { return type_ == TARGET_FOR_ANONYMOUS; }
@@ -220,7 +215,6 @@
ZoneStringList* labels_;
Type type_;
BreakTarget break_target_;
- int break_stack_height_;
};
@@ -451,12 +445,12 @@
CHECK(!is_default());
return label_;
}
- BreakTarget* body_target() { return &body_target_; }
+ JumpTarget* body_target() { return &body_target_; }
ZoneList<Statement*>* statements() const { return statements_; }
private:
Expression* label_;
- BreakTarget body_target_;
+ JumpTarget body_target_;
ZoneList<Statement*>* statements_;
};
« no previous file with comments | « src/assembler-ia32.h ('k') | src/codegen-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698