| Index: src/mips/lithium-mips.h
|
| diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h
|
| index 5d5de5e9d16b77810a0c74f3dd0af93e05b6b402..5aba86dd1d9ef9156202e35665edbd69455b0ac7 100644
|
| --- a/src/mips/lithium-mips.h
|
| +++ b/src/mips/lithium-mips.h
|
| @@ -115,7 +115,6 @@ class LCodeGen;
|
| V(IsStringAndBranch) \
|
| V(IsSmiAndBranch) \
|
| V(IsUndetectableAndBranch) \
|
| - V(StringCompareAndBranch) \
|
| V(JSArrayLength) \
|
| V(Label) \
|
| V(LazyBailout) \
|
| @@ -132,6 +131,7 @@ class LCodeGen;
|
| V(LoadNamedField) \
|
| V(LoadNamedFieldPolymorphic) \
|
| V(LoadNamedGeneric) \
|
| + V(MathMinMax) \
|
| V(ModI) \
|
| V(MulI) \
|
| V(NumberTagD) \
|
| @@ -162,6 +162,7 @@ class LCodeGen;
|
| V(StringAdd) \
|
| V(StringCharCodeAt) \
|
| V(StringCharFromCode) \
|
| + V(StringCompareAndBranch) \
|
| V(StringLength) \
|
| V(SubI) \
|
| V(TaggedToI) \
|
| @@ -1049,6 +1050,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) {
|
|
|