Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index d11835452c72d7024f2a38bb49a854eba7ce45f1..798c566a70a46aabcc6b105eef957d66a696b3b7 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -2911,6 +2911,8 @@ class HBoundsCheck: public HTemplateInstruction<2> { |
protected: |
virtual bool DataEquals(HValue* other) { return true; } |
+ |
+ private: |
BoundsCheckKeyMode key_mode_; |
}; |
@@ -3767,13 +3769,24 @@ class HOsrEntry: public HTemplateInstruction<0> { |
}; |
+enum ParameterKind { |
+ FUNCTION_PARAMETER, |
+ KEYED_LOAD_IC_PARAMETER, |
+ KEYED_STORE_IC_PARAMETER |
Jakob Kummerow
2012/11/19 12:36:00
Remove this
danno
2012/11/26 17:16:18
Done.
|
+}; |
+ |
+ |
class HParameter: public HTemplateInstruction<0> { |
public: |
- explicit HParameter(unsigned index) : index_(index) { |
+ explicit HParameter(unsigned index, |
+ ParameterKind kind = FUNCTION_PARAMETER) |
+ : index_(index), |
+ kind_(kind) { |
set_representation(Representation::Tagged()); |
} |
unsigned index() const { return index_; } |
+ ParameterKind kind() const { return kind_; } |
virtual void PrintDataTo(StringStream* stream); |
@@ -3785,6 +3798,7 @@ class HParameter: public HTemplateInstruction<0> { |
private: |
unsigned index_; |
+ ParameterKind kind_; |
}; |