| Index: src/arm/lithium-arm.h
|
| diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
|
| index 5eab3548e0e7f17e335f7952f64d1d08fc686a89..98cacacae10e295c115e2dc0310766675ef637a8 100644
|
| --- a/src/arm/lithium-arm.h
|
| +++ b/src/arm/lithium-arm.h
|
| @@ -113,6 +113,7 @@ class LCodeGen;
|
| V(IsConstructCallAndBranch) \
|
| V(IsObjectAndBranch) \
|
| V(IsStringAndBranch) \
|
| + V(IsNumberAndBranch) \
|
| V(IsSmiAndBranch) \
|
| V(IsUndetectableAndBranch) \
|
| V(Label) \
|
| @@ -938,6 +939,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) {
|
| @@ -2105,7 +2119,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(); }
|
| };
|
| @@ -2764,7 +2778,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_;
|
|
|