Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index a7530be14ee1b2dab38d358506b4bfa007b63097..5397c5224d176d283a90cabc76794bd1def81293 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -120,6 +120,7 @@ class LCodeGen; |
V(IsObjectAndBranch) \ |
V(IsStringAndBranch) \ |
V(IsSmiAndBranch) \ |
+ V(IsNumberAndBranch) \ |
V(IsUndetectableAndBranch) \ |
V(Label) \ |
V(LazyBailout) \ |
@@ -866,6 +867,19 @@ class LIsObjectAndBranch: public LControlInstruction<1, 0> { |
}; |
+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: |
explicit LIsStringAndBranch(LOperand* value, LOperand* temp) { |