| Index: src/mips/lithium-mips.h
|
| diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h
|
| index 71f0bb22fc37b6be1f6c09ac1e53c376f8b300b6..b089f7a392c9a1e111fd2ed4fc3347f60d23eb2c 100644
|
| --- a/src/mips/lithium-mips.h
|
| +++ b/src/mips/lithium-mips.h
|
| @@ -109,8 +109,10 @@ class LCodeGen;
|
| V(IsConstructCallAndBranch) \
|
| V(IsNilAndBranch) \
|
| V(IsObjectAndBranch) \
|
| + V(IsStringAndBranch) \
|
| V(IsSmiAndBranch) \
|
| V(IsUndetectableAndBranch) \
|
| + V(StringCompareAndBranch) \
|
| V(JSArrayLength) \
|
| V(Label) \
|
| V(LazyBailout) \
|
| @@ -658,6 +660,20 @@ class LIsObjectAndBranch: public LControlInstruction<1, 1> {
|
| };
|
|
|
|
|
| +class LIsStringAndBranch: public LControlInstruction<1, 1> {
|
| + public:
|
| + LIsStringAndBranch(LOperand* value, LOperand* temp) {
|
| + inputs_[0] = value;
|
| + temps_[0] = temp;
|
| + }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(IsStringAndBranch, "is-string-and-branch")
|
| + DECLARE_HYDROGEN_ACCESSOR(IsStringAndBranch)
|
| +
|
| + virtual void PrintDataTo(StringStream* stream);
|
| +};
|
| +
|
| +
|
| class LIsSmiAndBranch: public LControlInstruction<1, 0> {
|
| public:
|
| explicit LIsSmiAndBranch(LOperand* value) {
|
| @@ -686,6 +702,23 @@ class LIsUndetectableAndBranch: public LControlInstruction<1, 1> {
|
| };
|
|
|
|
|
| +class LStringCompareAndBranch: public LControlInstruction<2, 0> {
|
| + public:
|
| + LStringCompareAndBranch(LOperand* left, LOperand* right) {
|
| + inputs_[0] = left;
|
| + inputs_[1] = right;
|
| + }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(StringCompareAndBranch,
|
| + "compare-generic-and-branch")
|
| + DECLARE_HYDROGEN_ACCESSOR(StringCompareAndBranch)
|
| +
|
| + Token::Value op() const { return hydrogen()->token(); }
|
| +
|
| + virtual void PrintDataTo(StringStream* stream);
|
| +};
|
| +
|
| +
|
| class LHasInstanceTypeAndBranch: public LControlInstruction<1, 0> {
|
| public:
|
| explicit LHasInstanceTypeAndBranch(LOperand* value) {
|
|
|