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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 V(LoadFunctionPrototype) \ | 124 V(LoadFunctionPrototype) \ |
125 V(LoadGlobalCell) \ | 125 V(LoadGlobalCell) \ |
126 V(LoadGlobalGeneric) \ | 126 V(LoadGlobalGeneric) \ |
127 V(LoadKeyedFastDoubleElement) \ | 127 V(LoadKeyedFastDoubleElement) \ |
128 V(LoadKeyedFastElement) \ | 128 V(LoadKeyedFastElement) \ |
129 V(LoadKeyedGeneric) \ | 129 V(LoadKeyedGeneric) \ |
130 V(LoadKeyedSpecializedArrayElement) \ | 130 V(LoadKeyedSpecializedArrayElement) \ |
131 V(LoadNamedField) \ | 131 V(LoadNamedField) \ |
132 V(LoadNamedFieldPolymorphic) \ | 132 V(LoadNamedFieldPolymorphic) \ |
133 V(LoadNamedGeneric) \ | 133 V(LoadNamedGeneric) \ |
| 134 V(MapEnumLength) \ |
134 V(MathMinMax) \ | 135 V(MathMinMax) \ |
135 V(ModI) \ | 136 V(ModI) \ |
136 V(MulI) \ | 137 V(MulI) \ |
137 V(NumberTagD) \ | 138 V(NumberTagD) \ |
138 V(NumberTagI) \ | 139 V(NumberTagI) \ |
139 V(NumberUntagD) \ | 140 V(NumberUntagD) \ |
140 V(ObjectLiteral) \ | 141 V(ObjectLiteral) \ |
141 V(OsrEntry) \ | 142 V(OsrEntry) \ |
142 V(OuterContext) \ | 143 V(OuterContext) \ |
143 V(Parameter) \ | 144 V(Parameter) \ |
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
977 explicit LFixedArrayBaseLength(LOperand* value) { | 978 explicit LFixedArrayBaseLength(LOperand* value) { |
978 inputs_[0] = value; | 979 inputs_[0] = value; |
979 } | 980 } |
980 | 981 |
981 DECLARE_CONCRETE_INSTRUCTION(FixedArrayBaseLength, | 982 DECLARE_CONCRETE_INSTRUCTION(FixedArrayBaseLength, |
982 "fixed-array-base-length") | 983 "fixed-array-base-length") |
983 DECLARE_HYDROGEN_ACCESSOR(FixedArrayBaseLength) | 984 DECLARE_HYDROGEN_ACCESSOR(FixedArrayBaseLength) |
984 }; | 985 }; |
985 | 986 |
986 | 987 |
| 988 class LMapEnumLength: public LTemplateInstruction<1, 1, 0> { |
| 989 public: |
| 990 explicit LMapEnumLength(LOperand* value) { |
| 991 inputs_[0] = value; |
| 992 } |
| 993 |
| 994 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") |
| 995 }; |
| 996 |
| 997 |
987 class LElementsKind: public LTemplateInstruction<1, 1, 0> { | 998 class LElementsKind: public LTemplateInstruction<1, 1, 0> { |
988 public: | 999 public: |
989 explicit LElementsKind(LOperand* value) { | 1000 explicit LElementsKind(LOperand* value) { |
990 inputs_[0] = value; | 1001 inputs_[0] = value; |
991 } | 1002 } |
992 | 1003 |
993 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") | 1004 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind") |
994 DECLARE_HYDROGEN_ACCESSOR(ElementsKind) | 1005 DECLARE_HYDROGEN_ACCESSOR(ElementsKind) |
995 }; | 1006 }; |
996 | 1007 |
(...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2369 | 2380 |
2370 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2381 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2371 }; | 2382 }; |
2372 | 2383 |
2373 #undef DECLARE_HYDROGEN_ACCESSOR | 2384 #undef DECLARE_HYDROGEN_ACCESSOR |
2374 #undef DECLARE_CONCRETE_INSTRUCTION | 2385 #undef DECLARE_CONCRETE_INSTRUCTION |
2375 | 2386 |
2376 } } // namespace v8::internal | 2387 } } // namespace v8::internal |
2377 | 2388 |
2378 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2389 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |