Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index e3faa89ccfde55323ddc26cabe2090f43eabd343..b3d08c8a4c08f9f07996439a63660840e9015a34 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -114,6 +114,7 @@ class LCodeGen; |
V(IsObjectAndBranch) \ |
V(IsStringAndBranch) \ |
V(IsSmiAndBranch) \ |
+ V(IsNumberAndBranch) \ |
V(IsUndetectableAndBranch) \ |
V(Label) \ |
V(LazyBailout) \ |
@@ -882,6 +883,19 @@ class LIsObjectAndBranch V8_FINAL : public LControlInstruction<1, 0> { |
}; |
+class LIsNumberAndBranch V8_FINAL : 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 V8_FINAL : public LControlInstruction<1, 1> { |
public: |
explicit LIsStringAndBranch(LOperand* value, LOperand* temp) { |
@@ -2035,7 +2049,7 @@ class LTaggedToI V8_FINAL : public LTemplateInstruction<1, 1, 1> { |
LOperand* temp() { return temps_[0]; } |
DECLARE_CONCRETE_INSTRUCTION(TaggedToI, "tagged-to-i") |
- DECLARE_HYDROGEN_ACCESSOR(Change) |
+ DECLARE_HYDROGEN_ACCESSOR(UnaryOperation) |
bool truncating() { return hydrogen()->CanTruncateToInt32(); } |
}; |
@@ -2687,7 +2701,7 @@ class LChunkBuilder V8_FINAL BASE_EMBEDDED { |
LInstruction* DoArithmeticD(Token::Value op, |
HArithmeticBinaryOperation* instr); |
LInstruction* DoArithmeticT(Token::Value op, |
- HBinaryOperation* instr); |
+ HArithmeticBinaryOperation* instr); |
LPlatformChunk* chunk_; |
CompilationInfo* info_; |