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

Unified Diff: src/hydrogen-instructions.h

Issue 10701054: Enable stub generation using Hydrogen/Lithium (again) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: First pass at pre-VFP2 RA Created 8 years, 1 month 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
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_;
};

Powered by Google App Engine
This is Rietveld 408576698