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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 V(ClassOfTestAndBranch) \ | 80 V(ClassOfTestAndBranch) \ |
81 V(CmpConstantEqAndBranch) \ | 81 V(CmpConstantEqAndBranch) \ |
82 V(CmpIDAndBranch) \ | 82 V(CmpIDAndBranch) \ |
83 V(CmpObjectEqAndBranch) \ | 83 V(CmpObjectEqAndBranch) \ |
84 V(CmpMapAndBranch) \ | 84 V(CmpMapAndBranch) \ |
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(DeclareGlobals) \ |
90 V(DeleteProperty) \ | 91 V(DeleteProperty) \ |
91 V(Deoptimize) \ | 92 V(Deoptimize) \ |
92 V(DivI) \ | 93 V(DivI) \ |
93 V(DoubleToI) \ | 94 V(DoubleToI) \ |
94 V(ElementsKind) \ | 95 V(ElementsKind) \ |
95 V(FixedArrayBaseLength) \ | 96 V(FixedArrayBaseLength) \ |
96 V(FunctionLiteral) \ | 97 V(FunctionLiteral) \ |
97 V(GetCachedArrayIndex) \ | 98 V(GetCachedArrayIndex) \ |
98 V(GlobalObject) \ | 99 V(GlobalObject) \ |
99 V(GlobalReceiver) \ | 100 V(GlobalReceiver) \ |
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1339 explicit LOuterContext(LOperand* context) { | 1340 explicit LOuterContext(LOperand* context) { |
1340 inputs_[0] = context; | 1341 inputs_[0] = context; |
1341 } | 1342 } |
1342 | 1343 |
1343 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context") | 1344 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context") |
1344 | 1345 |
1345 LOperand* context() { return InputAt(0); } | 1346 LOperand* context() { return InputAt(0); } |
1346 }; | 1347 }; |
1347 | 1348 |
1348 | 1349 |
| 1350 class LDeclareGlobals: public LTemplateInstruction<0, 0, 0> { |
| 1351 public: |
| 1352 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") |
| 1353 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) |
| 1354 }; |
| 1355 |
| 1356 |
1349 class LGlobalObject: public LTemplateInstruction<1, 1, 0> { | 1357 class LGlobalObject: public LTemplateInstruction<1, 1, 0> { |
1350 public: | 1358 public: |
1351 explicit LGlobalObject(LOperand* context) { | 1359 explicit LGlobalObject(LOperand* context) { |
1352 inputs_[0] = context; | 1360 inputs_[0] = context; |
1353 } | 1361 } |
1354 | 1362 |
1355 DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object") | 1363 DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object") |
1356 | 1364 |
1357 LOperand* context() { return InputAt(0); } | 1365 LOperand* context() { return InputAt(0); } |
1358 }; | 1366 }; |
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2269 | 2277 |
2270 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2278 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2271 }; | 2279 }; |
2272 | 2280 |
2273 #undef DECLARE_HYDROGEN_ACCESSOR | 2281 #undef DECLARE_HYDROGEN_ACCESSOR |
2274 #undef DECLARE_CONCRETE_INSTRUCTION | 2282 #undef DECLARE_CONCRETE_INSTRUCTION |
2275 | 2283 |
2276 } } // namespace v8::internal | 2284 } } // namespace v8::internal |
2277 | 2285 |
2278 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2286 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |