Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index b04f3eec9225263b0c6202c9516b05b647eeba04..910827d84a847e663571c1966de7f404088f3075 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -115,6 +115,7 @@ class LCodeGen; |
V(IsObjectAndBranch) \ |
V(IsStringAndBranch) \ |
V(IsSmiAndBranch) \ |
+ V(IsNumberAndBranch) \ |
V(IsUndetectableAndBranch) \ |
V(Label) \ |
V(LazyBailout) \ |
@@ -884,6 +885,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) { |