| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 V(CmpConstantEqAndBranch) \ | 79 V(CmpConstantEqAndBranch) \ |
| 80 V(ConstantD) \ | 80 V(ConstantD) \ |
| 81 V(ConstantI) \ | 81 V(ConstantI) \ |
| 82 V(ConstantT) \ | 82 V(ConstantT) \ |
| 83 V(Context) \ | 83 V(Context) \ |
| 84 V(DeleteProperty) \ | 84 V(DeleteProperty) \ |
| 85 V(Deoptimize) \ | 85 V(Deoptimize) \ |
| 86 V(DivI) \ | 86 V(DivI) \ |
| 87 V(DoubleToI) \ | 87 V(DoubleToI) \ |
| 88 V(ElementsKind) \ | 88 V(ElementsKind) \ |
| 89 V(ExternalArrayLength) \ | 89 V(FixedArrayBaseLength) \ |
| 90 V(FixedArrayLength) \ | |
| 91 V(FunctionLiteral) \ | 90 V(FunctionLiteral) \ |
| 92 V(GetCachedArrayIndex) \ | 91 V(GetCachedArrayIndex) \ |
| 93 V(GlobalObject) \ | 92 V(GlobalObject) \ |
| 94 V(GlobalReceiver) \ | 93 V(GlobalReceiver) \ |
| 95 V(Goto) \ | 94 V(Goto) \ |
| 96 V(HasCachedArrayIndexAndBranch) \ | 95 V(HasCachedArrayIndexAndBranch) \ |
| 97 V(HasInstanceTypeAndBranch) \ | 96 V(HasInstanceTypeAndBranch) \ |
| 98 V(In) \ | 97 V(In) \ |
| 99 V(InstanceOf) \ | 98 V(InstanceOf) \ |
| 100 V(InstanceOfKnownGlobal) \ | 99 V(InstanceOfKnownGlobal) \ |
| (...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 public: | 914 public: |
| 916 explicit LJSArrayLength(LOperand* value) { | 915 explicit LJSArrayLength(LOperand* value) { |
| 917 inputs_[0] = value; | 916 inputs_[0] = value; |
| 918 } | 917 } |
| 919 | 918 |
| 920 DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js-array-length") | 919 DECLARE_CONCRETE_INSTRUCTION(JSArrayLength, "js-array-length") |
| 921 DECLARE_HYDROGEN_ACCESSOR(JSArrayLength) | 920 DECLARE_HYDROGEN_ACCESSOR(JSArrayLength) |
| 922 }; | 921 }; |
| 923 | 922 |
| 924 | 923 |
| 925 class LExternalArrayLength: public LTemplateInstruction<1, 1, 0> { | 924 class LFixedArrayBaseLength: public LTemplateInstruction<1, 1, 0> { |
| 926 public: | 925 public: |
| 927 explicit LExternalArrayLength(LOperand* value) { | 926 explicit LFixedArrayBaseLength(LOperand* value) { |
| 928 inputs_[0] = value; | 927 inputs_[0] = value; |
| 929 } | 928 } |
| 930 | 929 |
| 931 DECLARE_CONCRETE_INSTRUCTION(ExternalArrayLength, "external-array-length") | 930 DECLARE_CONCRETE_INSTRUCTION(FixedArrayBaseLength, |
| 932 DECLARE_HYDROGEN_ACCESSOR(ExternalArrayLength) | 931 "fixed-array-base-length") |
| 932 DECLARE_HYDROGEN_ACCESSOR(FixedArrayBaseLength) |
| 933 }; | 933 }; |
| 934 | 934 |
| 935 | 935 |
| 936 class LFixedArrayLength: public LTemplateInstruction<1, 1, 0> { | |
| 937 public: | |
| 938 explicit LFixedArrayLength(LOperand* value) { | |
| 939 inputs_[0] = value; | |
| 940 } | |
| 941 | |
| 942 DECLARE_CONCRETE_INSTRUCTION(FixedArrayLength, "fixed-array-length") | |
| 943 DECLARE_HYDROGEN_ACCESSOR(FixedArrayLength) | |
| 944 }; | |
| 945 | |
| 946 | |
| 947 class LElementsKind: public LTemplateInstruction<1, 1, 0> { | 936 class LElementsKind: public LTemplateInstruction<1, 1, 0> { |
| 948 public: | 937 public: |
| 949 explicit LElementsKind(LOperand* value) { | 938 explicit LElementsKind(LOperand* value) { |
| 950 inputs_[0] = value; | 939 inputs_[0] = value; |
| 951 } | 940 } |
| 952 | 941 |
| 953 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") | 942 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") |
| 954 DECLARE_HYDROGEN_ACCESSOR(ElementsKind) | 943 DECLARE_HYDROGEN_ACCESSOR(ElementsKind) |
| 955 }; | 944 }; |
| 956 | 945 |
| (...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2293 | 2282 |
| 2294 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2283 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2295 }; | 2284 }; |
| 2296 | 2285 |
| 2297 #undef DECLARE_HYDROGEN_ACCESSOR | 2286 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2298 #undef DECLARE_CONCRETE_INSTRUCTION | 2287 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2299 | 2288 |
| 2300 } } // namespace v8::internal | 2289 } } // namespace v8::internal |
| 2301 | 2290 |
| 2302 #endif // V8_IA32_LITHIUM_IA32_H_ | 2291 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |