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

Unified Diff: src/hydrogen-instructions.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/hydrogen.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index 93a7073b6ad14a1b3f16c4d481eeb5f4328a1ad4..56baffffb25a6de22aecd4cbf69d449ff47a2783 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -858,7 +858,8 @@ class HSoftDeoptimize: public HTemplateInstruction<0> {
class HDeoptimize: public HControlInstruction {
public:
- explicit HDeoptimize(int environment_length) : values_(environment_length) { }
+ explicit HDeoptimize(int environment_length)
+ : values_(ZONE, environment_length) { }
virtual Representation RequiredInputRepresentation(int index) const {
return Representation::None();
@@ -1175,8 +1176,8 @@ class HSimulate: public HInstruction {
HSimulate(int ast_id, int pop_count)
: ast_id_(ast_id),
pop_count_(pop_count),
- values_(2),
- assigned_indexes_(2) {}
+ values_(ZONE, 2),
+ assigned_indexes_(ZONE, 2) {}
virtual ~HSimulate() {}
virtual void PrintDataTo(StringStream* stream);
@@ -2121,7 +2122,7 @@ class HCheckSmi: public HUnaryOperation {
class HPhi: public HValue {
public:
explicit HPhi(int merged_index)
- : inputs_(2),
+ : inputs_(ZONE, 2),
merged_index_(merged_index),
phi_id_(-1),
is_live_(false),
« no previous file with comments | « src/hydrogen.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698