Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index a7ae588ff9a90420a690efac2a4a32dc80522d87..f00a24b3654914e0a365276054ae947403d03c43 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.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) \ |
@@ -1064,6 +1065,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) { |