| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index d3695b95de6c3fc5454a338cff23d7e529abab36..71e46599aae657114aa0664f87916a7d9a29efb2 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.h
|
| @@ -119,6 +119,7 @@ class LCodeGen;
|
| V(IsConstructCallAndBranch) \
|
| V(IsObjectAndBranch) \
|
| V(IsStringAndBranch) \
|
| + V(IsNumberAndBranch) \
|
| V(IsSmiAndBranch) \
|
| V(IsUndetectableAndBranch) \
|
| V(Label) \
|
| @@ -926,6 +927,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) {
|
|
|