Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index ee9bf79601da0a1f1bd9b97ed9fb33b172d89e6f..5f9cc726222560e663448a21c079e7597a56f2e8 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -109,7 +109,6 @@ class LCodeGen; |
V(IsStringAndBranch) \ |
V(IsSmiAndBranch) \ |
V(IsUndetectableAndBranch) \ |
- V(StringCompareAndBranch) \ |
V(JSArrayLength) \ |
V(Label) \ |
V(LazyBailout) \ |
@@ -127,6 +126,7 @@ class LCodeGen; |
V(LoadNamedFieldPolymorphic) \ |
V(LoadNamedGeneric) \ |
V(MathFloorOfDiv) \ |
+ V(MathMinMax) \ |
V(MathPowHalf) \ |
V(ModI) \ |
V(MulI) \ |
@@ -158,6 +158,7 @@ class LCodeGen; |
V(StringAdd) \ |
V(StringCharCodeAt) \ |
V(StringCharFromCode) \ |
+ V(StringCompareAndBranch) \ |
V(StringLength) \ |
V(SubI) \ |
V(TaggedToI) \ |
@@ -1088,6 +1089,18 @@ class LAddI: public LTemplateInstruction<1, 2, 0> { |
}; |
+class LMathMinMax: public LTemplateInstruction<1, 2, 0> { |
+ public: |
+ LMathMinMax(LOperand* left, LOperand* right) { |
+ inputs_[0] = left; |
+ inputs_[1] = right; |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(MathMinMax, "min-max") |
+ DECLARE_HYDROGEN_ACCESSOR(MathMinMax) |
+}; |
+ |
+ |
class LPower: public LTemplateInstruction<1, 2, 0> { |
public: |
LPower(LOperand* left, LOperand* right) { |