| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 V(InstanceSize) \ | 107 V(InstanceSize) \ |
| 108 V(InstructionGap) \ | 108 V(InstructionGap) \ |
| 109 V(Integer32ToDouble) \ | 109 V(Integer32ToDouble) \ |
| 110 V(Integer32ToSmi) \ | 110 V(Integer32ToSmi) \ |
| 111 V(Uint32ToDouble) \ | 111 V(Uint32ToDouble) \ |
| 112 V(InvokeFunction) \ | 112 V(InvokeFunction) \ |
| 113 V(IsConstructCallAndBranch) \ | 113 V(IsConstructCallAndBranch) \ |
| 114 V(IsObjectAndBranch) \ | 114 V(IsObjectAndBranch) \ |
| 115 V(IsStringAndBranch) \ | 115 V(IsStringAndBranch) \ |
| 116 V(IsSmiAndBranch) \ | 116 V(IsSmiAndBranch) \ |
| 117 V(IsNumberAndBranch) \ | |
| 118 V(IsUndetectableAndBranch) \ | 117 V(IsUndetectableAndBranch) \ |
| 119 V(Label) \ | 118 V(Label) \ |
| 120 V(LazyBailout) \ | 119 V(LazyBailout) \ |
| 121 V(LoadContextSlot) \ | 120 V(LoadContextSlot) \ |
| 122 V(LoadExternalArrayPointer) \ | 121 V(LoadExternalArrayPointer) \ |
| 123 V(LoadFunctionPrototype) \ | 122 V(LoadFunctionPrototype) \ |
| 124 V(LoadGlobalCell) \ | 123 V(LoadGlobalCell) \ |
| 125 V(LoadGlobalGeneric) \ | 124 V(LoadGlobalGeneric) \ |
| 126 V(LoadKeyed) \ | 125 V(LoadKeyed) \ |
| 127 V(LoadKeyedGeneric) \ | 126 V(LoadKeyedGeneric) \ |
| 128 V(LoadNamedField) \ | 127 V(LoadNamedField) \ |
| 129 V(LoadNamedFieldPolymorphic) \ | 128 V(LoadNamedFieldPolymorphic) \ |
| 130 V(LoadNamedGeneric) \ | 129 V(LoadNamedGeneric) \ |
| 131 V(MapEnumLength) \ | 130 V(MapEnumLength) \ |
| 132 V(MathAbs) \ | 131 V(MathAbs) \ |
| 133 V(MathCos) \ | 132 V(MathCos) \ |
| 134 V(MathExp) \ | 133 V(MathExp) \ |
| 135 V(MathFloor) \ | 134 V(MathFloor) \ |
| 136 V(MathFloorOfDiv) \ | 135 V(MathFloorOfDiv) \ |
| 137 V(MathLog) \ | 136 V(MathLog) \ |
| 138 V(MathMinMax) \ | 137 V(MathMinMax) \ |
| 139 V(MathPowHalf) \ | 138 V(MathPowHalf) \ |
| 140 V(MathRound) \ | 139 V(MathRound) \ |
| 141 V(MathSin) \ | 140 V(MathSin) \ |
| 142 V(MathSqrt) \ | 141 V(MathSqrt) \ |
| 143 V(MathTan) \ | 142 V(MathTan) \ |
| 144 V(ModI) \ | 143 V(ModI) \ |
| 145 V(MulI) \ | 144 V(MulI) \ |
| 146 V(NegateNoSSE2D) \ | |
| 147 V(NumberTagD) \ | 145 V(NumberTagD) \ |
| 148 V(NumberTagI) \ | 146 V(NumberTagI) \ |
| 149 V(NumberTagU) \ | 147 V(NumberTagU) \ |
| 150 V(NumberUntagD) \ | 148 V(NumberUntagD) \ |
| 151 V(OsrEntry) \ | 149 V(OsrEntry) \ |
| 152 V(OuterContext) \ | 150 V(OuterContext) \ |
| 153 V(Parameter) \ | 151 V(Parameter) \ |
| 154 V(Power) \ | 152 V(Power) \ |
| 155 V(Random) \ | 153 V(Random) \ |
| 156 V(PushArgument) \ | 154 V(PushArgument) \ |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 654 | 652 |
| 655 LOperand* left() { return inputs_[0]; } | 653 LOperand* left() { return inputs_[0]; } |
| 656 LOperand* right() { return inputs_[1]; } | 654 LOperand* right() { return inputs_[1]; } |
| 657 LOperand* temp() { return temps_[0]; } | 655 LOperand* temp() { return temps_[0]; } |
| 658 | 656 |
| 659 DECLARE_CONCRETE_INSTRUCTION(MathFloorOfDiv, "math-floor-of-div") | 657 DECLARE_CONCRETE_INSTRUCTION(MathFloorOfDiv, "math-floor-of-div") |
| 660 DECLARE_HYDROGEN_ACCESSOR(MathFloorOfDiv) | 658 DECLARE_HYDROGEN_ACCESSOR(MathFloorOfDiv) |
| 661 }; | 659 }; |
| 662 | 660 |
| 663 | 661 |
| 664 class LNegateNoSSE2D: public LTemplateInstruction<1, 1, 0> { | |
| 665 public: | |
| 666 explicit LNegateNoSSE2D(LOperand* value) { | |
| 667 inputs_[0] = value; | |
| 668 } | |
| 669 | |
| 670 LOperand* value() { return inputs_[0]; } | |
| 671 | |
| 672 DECLARE_CONCRETE_INSTRUCTION(NegateNoSSE2D, "negate-no-sse2-d") | |
| 673 }; | |
| 674 | |
| 675 | |
| 676 class LMulI: public LTemplateInstruction<1, 2, 1> { | 662 class LMulI: public LTemplateInstruction<1, 2, 1> { |
| 677 public: | 663 public: |
| 678 LMulI(LOperand* left, LOperand* right, LOperand* temp) { | 664 LMulI(LOperand* left, LOperand* right, LOperand* temp) { |
| 679 inputs_[0] = left; | 665 inputs_[0] = left; |
| 680 inputs_[1] = right; | 666 inputs_[1] = right; |
| 681 temps_[0] = temp; | 667 temps_[0] = temp; |
| 682 } | 668 } |
| 683 | 669 |
| 684 LOperand* left() { return inputs_[0]; } | 670 LOperand* left() { return inputs_[0]; } |
| 685 LOperand* right() { return inputs_[1]; } | 671 LOperand* right() { return inputs_[1]; } |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 890 | 876 |
| 891 LOperand* value() { return inputs_[0]; } | 877 LOperand* value() { return inputs_[0]; } |
| 892 LOperand* temp() { return temps_[0]; } | 878 LOperand* temp() { return temps_[0]; } |
| 893 | 879 |
| 894 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") | 880 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") |
| 895 | 881 |
| 896 virtual void PrintDataTo(StringStream* stream); | 882 virtual void PrintDataTo(StringStream* stream); |
| 897 }; | 883 }; |
| 898 | 884 |
| 899 | 885 |
| 900 class LIsNumberAndBranch: public LControlInstruction<1, 0> { | |
| 901 public: | |
| 902 explicit LIsNumberAndBranch(LOperand* value) { | |
| 903 inputs_[0] = value; | |
| 904 } | |
| 905 | |
| 906 LOperand* value() { return inputs_[0]; } | |
| 907 | |
| 908 DECLARE_CONCRETE_INSTRUCTION(IsNumberAndBranch, "is-number-and-branch") | |
| 909 DECLARE_HYDROGEN_ACCESSOR(IsNumberAndBranch) | |
| 910 }; | |
| 911 | |
| 912 | |
| 913 class LIsStringAndBranch: public LControlInstruction<1, 1> { | 886 class LIsStringAndBranch: public LControlInstruction<1, 1> { |
| 914 public: | 887 public: |
| 915 LIsStringAndBranch(LOperand* value, LOperand* temp) { | 888 LIsStringAndBranch(LOperand* value, LOperand* temp) { |
| 916 inputs_[0] = value; | 889 inputs_[0] = value; |
| 917 temps_[0] = temp; | 890 temps_[0] = temp; |
| 918 } | 891 } |
| 919 | 892 |
| 920 LOperand* value() { return inputs_[0]; } | 893 LOperand* value() { return inputs_[0]; } |
| 921 LOperand* temp() { return temps_[0]; } | 894 LOperand* temp() { return temps_[0]; } |
| 922 | 895 |
| (...skipping 2076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2999 | 2972 |
| 3000 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2973 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 3001 }; | 2974 }; |
| 3002 | 2975 |
| 3003 #undef DECLARE_HYDROGEN_ACCESSOR | 2976 #undef DECLARE_HYDROGEN_ACCESSOR |
| 3004 #undef DECLARE_CONCRETE_INSTRUCTION | 2977 #undef DECLARE_CONCRETE_INSTRUCTION |
| 3005 | 2978 |
| 3006 } } // namespace v8::internal | 2979 } } // namespace v8::internal |
| 3007 | 2980 |
| 3008 #endif // V8_IA32_LITHIUM_IA32_H_ | 2981 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |