| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 V(LoadExternalArrayPointer) \ | 124 V(LoadExternalArrayPointer) \ |
| 125 V(LoadFunctionPrototype) \ | 125 V(LoadFunctionPrototype) \ |
| 126 V(LoadGlobalCell) \ | 126 V(LoadGlobalCell) \ |
| 127 V(LoadGlobalGeneric) \ | 127 V(LoadGlobalGeneric) \ |
| 128 V(LoadKeyed) \ | 128 V(LoadKeyed) \ |
| 129 V(LoadKeyedGeneric) \ | 129 V(LoadKeyedGeneric) \ |
| 130 V(LoadNamedField) \ | 130 V(LoadNamedField) \ |
| 131 V(LoadNamedFieldPolymorphic) \ | 131 V(LoadNamedFieldPolymorphic) \ |
| 132 V(LoadNamedGeneric) \ | 132 V(LoadNamedGeneric) \ |
| 133 V(MapEnumLength) \ | 133 V(MapEnumLength) \ |
| 134 V(MathExp) \ |
| 134 V(MathFloorOfDiv) \ | 135 V(MathFloorOfDiv) \ |
| 135 V(MathMinMax) \ | 136 V(MathMinMax) \ |
| 136 V(ModI) \ | 137 V(ModI) \ |
| 137 V(MulI) \ | 138 V(MulI) \ |
| 138 V(MultiplyAddD) \ | 139 V(MultiplyAddD) \ |
| 139 V(NumberTagD) \ | 140 V(NumberTagD) \ |
| 140 V(NumberTagI) \ | 141 V(NumberTagI) \ |
| 141 V(NumberTagU) \ | 142 V(NumberTagU) \ |
| 142 V(NumberUntagD) \ | 143 V(NumberUntagD) \ |
| 143 V(ObjectLiteral) \ | 144 V(ObjectLiteral) \ |
| (...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 LOperand* temp() { return temps_[0]; } | 675 LOperand* temp() { return temps_[0]; } |
| 675 | 676 |
| 676 DECLARE_CONCRETE_INSTRUCTION(UnaryMathOperation, "unary-math-operation") | 677 DECLARE_CONCRETE_INSTRUCTION(UnaryMathOperation, "unary-math-operation") |
| 677 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) | 678 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) |
| 678 | 679 |
| 679 virtual void PrintDataTo(StringStream* stream); | 680 virtual void PrintDataTo(StringStream* stream); |
| 680 BuiltinFunctionId op() const { return hydrogen()->op(); } | 681 BuiltinFunctionId op() const { return hydrogen()->op(); } |
| 681 }; | 682 }; |
| 682 | 683 |
| 683 | 684 |
| 685 class LMathExp: public LTemplateInstruction<1, 1, 3> { |
| 686 public: |
| 687 LMathExp(LOperand* value, |
| 688 LOperand* double_temp, |
| 689 LOperand* temp1, |
| 690 LOperand* temp2) { |
| 691 inputs_[0] = value; |
| 692 temps_[0] = temp1; |
| 693 temps_[1] = temp2; |
| 694 temps_[2] = double_temp; |
| 695 ExternalReference::InitializeMathExpData(); |
| 696 } |
| 697 |
| 698 LOperand* value() { return inputs_[0]; } |
| 699 LOperand* temp1() { return temps_[0]; } |
| 700 LOperand* temp2() { return temps_[1]; } |
| 701 LOperand* double_temp() { return temps_[2]; } |
| 702 |
| 703 DECLARE_CONCRETE_INSTRUCTION(MathExp, "math-exp") |
| 704 |
| 705 virtual void PrintDataTo(StringStream* stream); |
| 706 }; |
| 707 |
| 708 |
| 684 class LCmpObjectEqAndBranch: public LControlInstruction<2, 0> { | 709 class LCmpObjectEqAndBranch: public LControlInstruction<2, 0> { |
| 685 public: | 710 public: |
| 686 LCmpObjectEqAndBranch(LOperand* left, LOperand* right) { | 711 LCmpObjectEqAndBranch(LOperand* left, LOperand* right) { |
| 687 inputs_[0] = left; | 712 inputs_[0] = left; |
| 688 inputs_[1] = right; | 713 inputs_[1] = right; |
| 689 } | 714 } |
| 690 | 715 |
| 691 LOperand* left() { return inputs_[0]; } | 716 LOperand* left() { return inputs_[0]; } |
| 692 LOperand* right() { return inputs_[1]; } | 717 LOperand* right() { return inputs_[1]; } |
| 693 | 718 |
| (...skipping 1869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2563 | 2588 |
| 2564 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2589 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2565 }; | 2590 }; |
| 2566 | 2591 |
| 2567 #undef DECLARE_HYDROGEN_ACCESSOR | 2592 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2568 #undef DECLARE_CONCRETE_INSTRUCTION | 2593 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2569 | 2594 |
| 2570 } } // namespace v8::internal | 2595 } } // namespace v8::internal |
| 2571 | 2596 |
| 2572 #endif // V8_ARM_LITHIUM_ARM_H_ | 2597 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |