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