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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 V(LoadFunctionPrototype) \ | 125 V(LoadFunctionPrototype) \ |
126 V(LoadGlobalCell) \ | 126 V(LoadGlobalCell) \ |
127 V(LoadGlobalGeneric) \ | 127 V(LoadGlobalGeneric) \ |
128 V(LoadKeyedFastDoubleElement) \ | 128 V(LoadKeyedFastDoubleElement) \ |
129 V(LoadKeyedFastElement) \ | 129 V(LoadKeyedFastElement) \ |
130 V(LoadKeyedGeneric) \ | 130 V(LoadKeyedGeneric) \ |
131 V(LoadKeyedSpecializedArrayElement) \ | 131 V(LoadKeyedSpecializedArrayElement) \ |
132 V(LoadNamedField) \ | 132 V(LoadNamedField) \ |
133 V(LoadNamedFieldPolymorphic) \ | 133 V(LoadNamedFieldPolymorphic) \ |
134 V(LoadNamedGeneric) \ | 134 V(LoadNamedGeneric) \ |
| 135 V(MapEnumLength) \ |
135 V(MathFloorOfDiv) \ | 136 V(MathFloorOfDiv) \ |
136 V(MathMinMax) \ | 137 V(MathMinMax) \ |
137 V(ModI) \ | 138 V(ModI) \ |
138 V(MulI) \ | 139 V(MulI) \ |
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) \ |
144 V(OsrEntry) \ | 145 V(OsrEntry) \ |
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
995 explicit LFixedArrayBaseLength(LOperand* value) { | 996 explicit LFixedArrayBaseLength(LOperand* value) { |
996 inputs_[0] = value; | 997 inputs_[0] = value; |
997 } | 998 } |
998 | 999 |
999 DECLARE_CONCRETE_INSTRUCTION(FixedArrayBaseLength, | 1000 DECLARE_CONCRETE_INSTRUCTION(FixedArrayBaseLength, |
1000 "fixed-array-base-length") | 1001 "fixed-array-base-length") |
1001 DECLARE_HYDROGEN_ACCESSOR(FixedArrayBaseLength) | 1002 DECLARE_HYDROGEN_ACCESSOR(FixedArrayBaseLength) |
1002 }; | 1003 }; |
1003 | 1004 |
1004 | 1005 |
| 1006 class LMapEnumLength: public LTemplateInstruction<1, 1, 0> { |
| 1007 public: |
| 1008 explicit LMapEnumLength(LOperand* value) { |
| 1009 inputs_[0] = value; |
| 1010 } |
| 1011 |
| 1012 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") |
| 1013 }; |
| 1014 |
| 1015 |
1005 class LElementsKind: public LTemplateInstruction<1, 1, 0> { | 1016 class LElementsKind: public LTemplateInstruction<1, 1, 0> { |
1006 public: | 1017 public: |
1007 explicit LElementsKind(LOperand* value) { | 1018 explicit LElementsKind(LOperand* value) { |
1008 inputs_[0] = value; | 1019 inputs_[0] = value; |
1009 } | 1020 } |
1010 | 1021 |
1011 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") | 1022 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") |
1012 DECLARE_HYDROGEN_ACCESSOR(ElementsKind) | 1023 DECLARE_HYDROGEN_ACCESSOR(ElementsKind) |
1013 }; | 1024 }; |
1014 | 1025 |
(...skipping 1413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2428 | 2439 |
2429 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2440 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2430 }; | 2441 }; |
2431 | 2442 |
2432 #undef DECLARE_HYDROGEN_ACCESSOR | 2443 #undef DECLARE_HYDROGEN_ACCESSOR |
2433 #undef DECLARE_CONCRETE_INSTRUCTION | 2444 #undef DECLARE_CONCRETE_INSTRUCTION |
2434 | 2445 |
2435 } } // namespace v8::internal | 2446 } } // namespace v8::internal |
2436 | 2447 |
2437 #endif // V8_ARM_LITHIUM_ARM_H_ | 2448 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |