OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 V(CmpT) \ | 85 V(CmpT) \ |
86 V(ConstantD) \ | 86 V(ConstantD) \ |
87 V(ConstantI) \ | 87 V(ConstantI) \ |
88 V(ConstantT) \ | 88 V(ConstantT) \ |
89 V(Context) \ | 89 V(Context) \ |
90 V(DeleteProperty) \ | 90 V(DeleteProperty) \ |
91 V(Deoptimize) \ | 91 V(Deoptimize) \ |
92 V(DivI) \ | 92 V(DivI) \ |
93 V(DoubleToI) \ | 93 V(DoubleToI) \ |
94 V(ElementsKind) \ | 94 V(ElementsKind) \ |
95 V(ExternalArrayLength) \ | 95 V(FixedArrayBaseLength) \ |
96 V(FixedArrayLength) \ | |
97 V(FunctionLiteral) \ | 96 V(FunctionLiteral) \ |
98 V(GetCachedArrayIndex) \ | 97 V(GetCachedArrayIndex) \ |
99 V(GlobalObject) \ | 98 V(GlobalObject) \ |
100 V(GlobalReceiver) \ | 99 V(GlobalReceiver) \ |
101 V(Goto) \ | 100 V(Goto) \ |
102 V(HasCachedArrayIndexAndBranch) \ | 101 V(HasCachedArrayIndexAndBranch) \ |
103 V(HasInstanceTypeAndBranch) \ | 102 V(HasInstanceTypeAndBranch) \ |
104 V(In) \ | 103 V(In) \ |
105 V(InstanceOf) \ | 104 V(InstanceOf) \ |
106 V(InstanceOfKnownGlobal) \ | 105 V(InstanceOfKnownGlobal) \ |
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
908 public: | 907 public: |
909 explicit LJSArrayLength(LOperand* value) { | 908 explicit LJSArrayLength(LOperand* value) { |
910 inputs_[0] = value; | 909 inputs_[0] = value; |
911 } | 910 } |
912 | 911 |
913 DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js-array-length") | 912 DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js-array-length") |
914 DECLARE_HYDROGEN_ACCESSOR(JSArrayLength) | 913 DECLARE_HYDROGEN_ACCESSOR(JSArrayLength) |
915 }; | 914 }; |
916 | 915 |
917 | 916 |
918 class LExternalArrayLength: public LTemplateInstruction<1, 1, 0> { | 917 class LFixedArrayBaseLength: public LTemplateInstruction<1, 1, 0> { |
919 public: | 918 public: |
920 explicit LExternalArrayLength(LOperand* value) { | 919 explicit LFixedArrayBaseLength(LOperand* value) { |
921 inputs_[0] = value; | 920 inputs_[0] = value; |
922 } | 921 } |
923 | 922 |
924 DECLARE_CONCRETE_INSTRUCTION(ExternalArrayLength, "external-array-length") | 923 DECLARE_CONCRETE_INSTRUCTION(FixedArrayBaseLength, |
925 DECLARE_HYDROGEN_ACCESSOR(ExternalArrayLength) | 924 "fixed-array-base-length") |
| 925 DECLARE_HYDROGEN_ACCESSOR(FixedArrayBaseLength) |
926 }; | 926 }; |
927 | 927 |
928 | 928 |
929 class LFixedArrayLength: public LTemplateInstruction<1, 1, 0> { | |
930 public: | |
931 explicit LFixedArrayLength(LOperand* value) { | |
932 inputs_[0] = value; | |
933 } | |
934 | |
935 DECLARE_CONCRETE_INSTRUCTION(FixedArrayLength, "fixed-array-length") | |
936 DECLARE_HYDROGEN_ACCESSOR(FixedArrayLength) | |
937 }; | |
938 | |
939 | |
940 class LElementsKind: public LTemplateInstruction<1, 1, 0> { | 929 class LElementsKind: public LTemplateInstruction<1, 1, 0> { |
941 public: | 930 public: |
942 explicit LElementsKind(LOperand* value) { | 931 explicit LElementsKind(LOperand* value) { |
943 inputs_[0] = value; | 932 inputs_[0] = value; |
944 } | 933 } |
945 | 934 |
946 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") | 935 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") |
947 DECLARE_HYDROGEN_ACCESSOR(ElementsKind) | 936 DECLARE_HYDROGEN_ACCESSOR(ElementsKind) |
948 }; | 937 }; |
949 | 938 |
(...skipping 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2197 | 2186 |
2198 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2187 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2199 }; | 2188 }; |
2200 | 2189 |
2201 #undef DECLARE_HYDROGEN_ACCESSOR | 2190 #undef DECLARE_HYDROGEN_ACCESSOR |
2202 #undef DECLARE_CONCRETE_INSTRUCTION | 2191 #undef DECLARE_CONCRETE_INSTRUCTION |
2203 | 2192 |
2204 } } // namespace v8::internal | 2193 } } // namespace v8::internal |
2205 | 2194 |
2206 #endif // V8_ARM_LITHIUM_ARM_H_ | 2195 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |