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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 V(ConstantI) \ | 90 V(ConstantI) \ |
91 V(ConstantT) \ | 91 V(ConstantT) \ |
92 V(Context) \ | 92 V(Context) \ |
93 V(DeclareGlobals) \ | 93 V(DeclareGlobals) \ |
94 V(DeleteProperty) \ | 94 V(DeleteProperty) \ |
95 V(Deoptimize) \ | 95 V(Deoptimize) \ |
96 V(DivI) \ | 96 V(DivI) \ |
97 V(DoubleToI) \ | 97 V(DoubleToI) \ |
98 V(DummyUse) \ | 98 V(DummyUse) \ |
99 V(ElementsKind) \ | 99 V(ElementsKind) \ |
100 V(FastLiteral) \ | |
101 V(FixedArrayBaseLength) \ | 100 V(FixedArrayBaseLength) \ |
102 V(FunctionLiteral) \ | 101 V(FunctionLiteral) \ |
103 V(GetCachedArrayIndex) \ | 102 V(GetCachedArrayIndex) \ |
104 V(GlobalObject) \ | 103 V(GlobalObject) \ |
105 V(GlobalReceiver) \ | 104 V(GlobalReceiver) \ |
106 V(Goto) \ | 105 V(Goto) \ |
107 V(HasCachedArrayIndexAndBranch) \ | 106 V(HasCachedArrayIndexAndBranch) \ |
108 V(HasInstanceTypeAndBranch) \ | 107 V(HasInstanceTypeAndBranch) \ |
109 V(In) \ | 108 V(In) \ |
110 V(InstanceOf) \ | 109 V(InstanceOf) \ |
(...skipping 2182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2293 | 2292 |
2294 LOperand* size() { return inputs_[1]; } | 2293 LOperand* size() { return inputs_[1]; } |
2295 LOperand* temp1() { return temps_[0]; } | 2294 LOperand* temp1() { return temps_[0]; } |
2296 LOperand* temp2() { return temps_[1]; } | 2295 LOperand* temp2() { return temps_[1]; } |
2297 | 2296 |
2298 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") | 2297 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") |
2299 DECLARE_HYDROGEN_ACCESSOR(Allocate) | 2298 DECLARE_HYDROGEN_ACCESSOR(Allocate) |
2300 }; | 2299 }; |
2301 | 2300 |
2302 | 2301 |
2303 class LFastLiteral: public LTemplateInstruction<1, 0, 0> { | |
2304 public: | |
2305 DECLARE_CONCRETE_INSTRUCTION(FastLiteral, "fast-literal") | |
2306 DECLARE_HYDROGEN_ACCESSOR(FastLiteral) | |
2307 }; | |
2308 | |
2309 | |
2310 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> { | 2302 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> { |
2311 public: | 2303 public: |
2312 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") | 2304 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") |
2313 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) | 2305 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) |
2314 }; | 2306 }; |
2315 | 2307 |
2316 | 2308 |
2317 class LObjectLiteral: public LTemplateInstruction<1, 0, 0> { | 2309 class LObjectLiteral: public LTemplateInstruction<1, 0, 0> { |
2318 public: | 2310 public: |
2319 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteral, "object-literal") | 2311 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteral, "object-literal") |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2675 | 2667 |
2676 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2668 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2677 }; | 2669 }; |
2678 | 2670 |
2679 #undef DECLARE_HYDROGEN_ACCESSOR | 2671 #undef DECLARE_HYDROGEN_ACCESSOR |
2680 #undef DECLARE_CONCRETE_INSTRUCTION | 2672 #undef DECLARE_CONCRETE_INSTRUCTION |
2681 | 2673 |
2682 } } // namespace v8::internal | 2674 } } // namespace v8::internal |
2683 | 2675 |
2684 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2676 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |