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 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 public: | 905 public: |
907 explicit LJSArrayLength(LOperand* value) { | 906 explicit LJSArrayLength(LOperand* value) { |
908 inputs_[0] = value; | 907 inputs_[0] = value; |
909 } | 908 } |
910 | 909 |
911 DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js-array-length") | 910 DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js-array-length") |
912 DECLARE_HYDROGEN_ACCESSOR(JSArrayLength) | 911 DECLARE_HYDROGEN_ACCESSOR(JSArrayLength) |
913 }; | 912 }; |
914 | 913 |
915 | 914 |
916 class LExternalArrayLength: public LTemplateInstruction<1, 1, 0> { | 915 class LFixedArrayBaseLength: public LTemplateInstruction<1, 1, 0> { |
917 public: | 916 public: |
918 explicit LExternalArrayLength(LOperand* value) { | 917 explicit LFixedArrayBaseLength(LOperand* value) { |
919 inputs_[0] = value; | 918 inputs_[0] = value; |
920 } | 919 } |
921 | 920 |
922 DECLARE_CONCRETE_INSTRUCTION(ExternalArrayLength, "external-array-length") | 921 DECLARE_CONCRETE_INSTRUCTION(FixedArrayBaseLength, |
923 DECLARE_HYDROGEN_ACCESSOR(ExternalArrayLength) | 922 "fixed-array-base-length") |
| 923 DECLARE_HYDROGEN_ACCESSOR(FixedArrayBaseLength) |
924 }; | 924 }; |
925 | 925 |
926 | 926 |
927 class LFixedArrayLength: public LTemplateInstruction<1, 1, 0> { | |
928 public: | |
929 explicit LFixedArrayLength(LOperand* value) { | |
930 inputs_[0] = value; | |
931 } | |
932 | |
933 DECLARE_CONCRETE_INSTRUCTION(FixedArrayLength, "fixed-array-length") | |
934 DECLARE_HYDROGEN_ACCESSOR(FixedArrayLength) | |
935 }; | |
936 | |
937 | |
938 class LElementsKind: public LTemplateInstruction<1, 1, 0> { | 927 class LElementsKind: public LTemplateInstruction<1, 1, 0> { |
939 public: | 928 public: |
940 explicit LElementsKind(LOperand* value) { | 929 explicit LElementsKind(LOperand* value) { |
941 inputs_[0] = value; | 930 inputs_[0] = value; |
942 } | 931 } |
943 | 932 |
944 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") | 933 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") |
945 DECLARE_HYDROGEN_ACCESSOR(ElementsKind) | 934 DECLARE_HYDROGEN_ACCESSOR(ElementsKind) |
946 }; | 935 }; |
947 | 936 |
(...skipping 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2180 | 2169 |
2181 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2170 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2182 }; | 2171 }; |
2183 | 2172 |
2184 #undef DECLARE_HYDROGEN_ACCESSOR | 2173 #undef DECLARE_HYDROGEN_ACCESSOR |
2185 #undef DECLARE_CONCRETE_INSTRUCTION | 2174 #undef DECLARE_CONCRETE_INSTRUCTION |
2186 | 2175 |
2187 } } // namespace v8::int | 2176 } } // namespace v8::int |
2188 | 2177 |
2189 #endif // V8_X64_LITHIUM_X64_H_ | 2178 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |