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

Unified Diff: src/full-codegen.h

Issue 7374002: Refactor allocation policies. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 5 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/frames.cc ('k') | src/func-name-inferrer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/full-codegen.h
diff --git a/src/full-codegen.h b/src/full-codegen.h
index 6b174f74270c4de50a2c805e0fb6b952e1b5a154..cd9ba2484683f680a656a62e5110a9d3cc87da11 100644
--- a/src/full-codegen.h
+++ b/src/full-codegen.h
@@ -84,8 +84,9 @@ class FullCodeGenerator: public AstVisitor {
nesting_stack_(NULL),
loop_depth_(0),
context_(NULL),
- bailout_entries_(0),
- stack_checks_(2), // There's always at least one.
+ bailout_entries_(masm->isolate()->zone(), 0),
+ // There's always at least one stack check.
+ stack_checks_(masm->isolate()->zone(), 2),
forward_bailout_stack_(NULL),
forward_bailout_pending_(NULL) {
}
« no previous file with comments | « src/frames.cc ('k') | src/func-name-inferrer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698