Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index 9982bf056d364ddd5893f740b837ce456acd1d3a..f63113f553aeb709c9e26ecdf4b3f8be2da884f7 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -115,7 +115,6 @@ class LCodeGen; |
V(IsStringAndBranch) \ |
V(IsSmiAndBranch) \ |
V(IsUndetectableAndBranch) \ |
- V(StringCompareAndBranch) \ |
V(JSArrayLength) \ |
V(Label) \ |
V(LazyBailout) \ |
@@ -133,6 +132,7 @@ class LCodeGen; |
V(LoadNamedFieldPolymorphic) \ |
V(LoadNamedGeneric) \ |
V(MathFloorOfDiv) \ |
+ V(MathMinMax) \ |
V(ModI) \ |
V(MulI) \ |
V(NumberTagD) \ |
@@ -163,6 +163,7 @@ class LCodeGen; |
V(StringAdd) \ |
V(StringCharCodeAt) \ |
V(StringCharFromCode) \ |
+ V(StringCompareAndBranch) \ |
V(StringLength) \ |
V(SubI) \ |
V(TaggedToI) \ |
@@ -1084,6 +1085,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) { |