| Index: src/mips/lithium-mips.h
|
| diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h
|
| index 06d30d03de758e131d5e4e55d6eb599b7a5f294f..7ae2dd380b5d76ebe51571324f312e7bbb08e93d 100644
|
| --- a/src/mips/lithium-mips.h
|
| +++ b/src/mips/lithium-mips.h
|
| @@ -118,6 +118,7 @@ class LCodeGen;
|
| V(IsConstructCallAndBranch) \
|
| V(IsObjectAndBranch) \
|
| V(IsStringAndBranch) \
|
| + V(IsNumberAndBranch) \
|
| V(IsSmiAndBranch) \
|
| V(IsUndetectableAndBranch) \
|
| V(Label) \
|
| @@ -919,6 +920,19 @@ class LIsObjectAndBranch: public LControlInstruction<1, 1> {
|
| };
|
|
|
|
|
| +class LIsNumberAndBranch: public LControlInstruction<1, 0> {
|
| + public:
|
| + explicit LIsNumberAndBranch(LOperand* value) {
|
| + inputs_[0] = value;
|
| + }
|
| +
|
| + LOperand* value() { return inputs_[0]; }
|
| +
|
| + DECLARE_CONCRETE_INSTRUCTION(IsNumberAndBranch, "is-number-and-branch")
|
| + DECLARE_HYDROGEN_ACCESSOR(IsNumberAndBranch)
|
| +};
|
| +
|
| +
|
| class LIsStringAndBranch: public LControlInstruction<1, 1> {
|
| public:
|
| LIsStringAndBranch(LOperand* value, LOperand* temp) {
|
|
|