Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index 3ab8f37a15fced123b33c020c785a9c4a4a47462..29a8eac63f27b67453c16903a789a8338e2f5068 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -113,6 +113,7 @@ class LCodeGen; |
V(IsConstructCallAndBranch) \ |
V(IsObjectAndBranch) \ |
V(IsStringAndBranch) \ |
+ V(IsNumberAndBranch) \ |
V(IsSmiAndBranch) \ |
V(IsUndetectableAndBranch) \ |
V(Label) \ |
@@ -935,6 +936,19 @@ class LIsObjectAndBranch V8_FINAL : public LControlInstruction<1, 1> { |
}; |
+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: |
LIsStringAndBranch(LOperand* value, LOperand* temp) { |
@@ -2085,7 +2099,7 @@ class LTaggedToI V8_FINAL : public LTemplateInstruction<1, 1, 2> { |
LOperand* temp2() { return temps_[1]; } |
DECLARE_CONCRETE_INSTRUCTION(TaggedToI, "tagged-to-i") |
- DECLARE_HYDROGEN_ACCESSOR(Change) |
+ DECLARE_HYDROGEN_ACCESSOR(UnaryOperation) |
bool truncating() { return hydrogen()->CanTruncateToInt32(); } |
}; |
@@ -2739,7 +2753,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_; |