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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 V(ClassOfTestAndBranch) \ | 74 V(ClassOfTestAndBranch) \ |
75 V(CmpIDAndBranch) \ | 75 V(CmpIDAndBranch) \ |
76 V(CmpObjectEqAndBranch) \ | 76 V(CmpObjectEqAndBranch) \ |
77 V(CmpMapAndBranch) \ | 77 V(CmpMapAndBranch) \ |
78 V(CmpT) \ | 78 V(CmpT) \ |
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(DeclareGlobals) \ |
84 V(DeleteProperty) \ | 85 V(DeleteProperty) \ |
85 V(Deoptimize) \ | 86 V(Deoptimize) \ |
86 V(DivI) \ | 87 V(DivI) \ |
87 V(DoubleToI) \ | 88 V(DoubleToI) \ |
88 V(ElementsKind) \ | 89 V(ElementsKind) \ |
89 V(FixedArrayBaseLength) \ | 90 V(FixedArrayBaseLength) \ |
90 V(FunctionLiteral) \ | 91 V(FunctionLiteral) \ |
91 V(GetCachedArrayIndex) \ | 92 V(GetCachedArrayIndex) \ |
92 V(GlobalObject) \ | 93 V(GlobalObject) \ |
93 V(GlobalReceiver) \ | 94 V(GlobalReceiver) \ |
(...skipping 1284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1378 explicit LOuterContext(LOperand* context) { | 1379 explicit LOuterContext(LOperand* context) { |
1379 inputs_[0] = context; | 1380 inputs_[0] = context; |
1380 } | 1381 } |
1381 | 1382 |
1382 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context") | 1383 DECLARE_CONCRETE_INSTRUCTION(OuterContext, "outer-context") |
1383 | 1384 |
1384 LOperand* context() { return InputAt(0); } | 1385 LOperand* context() { return InputAt(0); } |
1385 }; | 1386 }; |
1386 | 1387 |
1387 | 1388 |
| 1389 class LDeclareGlobals: public LTemplateInstruction<0, 1, 0> { |
| 1390 public: |
| 1391 explicit LDeclareGlobals(LOperand* context) { |
| 1392 inputs_[0] = context; |
| 1393 } |
| 1394 |
| 1395 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") |
| 1396 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) |
| 1397 }; |
| 1398 |
| 1399 |
1388 class LGlobalObject: public LTemplateInstruction<1, 1, 0> { | 1400 class LGlobalObject: public LTemplateInstruction<1, 1, 0> { |
1389 public: | 1401 public: |
1390 explicit LGlobalObject(LOperand* context) { | 1402 explicit LGlobalObject(LOperand* context) { |
1391 inputs_[0] = context; | 1403 inputs_[0] = context; |
1392 } | 1404 } |
1393 | 1405 |
1394 DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object") | 1406 DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object") |
1395 | 1407 |
1396 LOperand* context() { return InputAt(0); } | 1408 LOperand* context() { return InputAt(0); } |
1397 }; | 1409 }; |
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2385 | 2397 |
2386 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2398 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2387 }; | 2399 }; |
2388 | 2400 |
2389 #undef DECLARE_HYDROGEN_ACCESSOR | 2401 #undef DECLARE_HYDROGEN_ACCESSOR |
2390 #undef DECLARE_CONCRETE_INSTRUCTION | 2402 #undef DECLARE_CONCRETE_INSTRUCTION |
2391 | 2403 |
2392 } } // namespace v8::internal | 2404 } } // namespace v8::internal |
2393 | 2405 |
2394 #endif // V8_IA32_LITHIUM_IA32_H_ | 2406 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |