Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 696d8b00f8635fd98943df65da87ae3af511a982..79f22fe632d47e9ecd6669904115cedfdb9e3d11 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -1774,8 +1774,7 @@ class HEnvironmentMarker V8_FINAL : public HTemplateInstruction<1> { |
public: |
enum Kind { BIND, LOOKUP }; |
- HEnvironmentMarker(Kind kind, int index) |
- : kind_(kind), index_(index), next_simulate_(NULL) { } |
+ DECLARE_INSTRUCTION_FACTORY_P2(HEnvironmentMarker, Kind, int); |
Kind kind() { return kind_; } |
int index() { return index_; } |
@@ -1802,6 +1801,9 @@ class HEnvironmentMarker V8_FINAL : public HTemplateInstruction<1> { |
DECLARE_CONCRETE_INSTRUCTION(EnvironmentMarker); |
private: |
+ HEnvironmentMarker(Kind kind, int index) |
+ : kind_(kind), index_(index), next_simulate_(NULL) { } |
+ |
Kind kind_; |
int index_; |
HSimulate* next_simulate_; |