| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 V(Integer32ToSmi) \ | 109 V(Integer32ToSmi) \ |
| 110 V(InvokeFunction) \ | 110 V(InvokeFunction) \ |
| 111 V(IsConstructCallAndBranch) \ | 111 V(IsConstructCallAndBranch) \ |
| 112 V(IsObjectAndBranch) \ | 112 V(IsObjectAndBranch) \ |
| 113 V(IsStringAndBranch) \ | 113 V(IsStringAndBranch) \ |
| 114 V(IsSmiAndBranch) \ | 114 V(IsSmiAndBranch) \ |
| 115 V(IsUndetectableAndBranch) \ | 115 V(IsUndetectableAndBranch) \ |
| 116 V(Label) \ | 116 V(Label) \ |
| 117 V(LazyBailout) \ | 117 V(LazyBailout) \ |
| 118 V(LoadContextSlot) \ | 118 V(LoadContextSlot) \ |
| 119 V(LoadExternalArrayPointer) \ | |
| 120 V(LoadRoot) \ | 119 V(LoadRoot) \ |
| 121 V(LoadFieldByIndex) \ | 120 V(LoadFieldByIndex) \ |
| 122 V(LoadFunctionPrototype) \ | 121 V(LoadFunctionPrototype) \ |
| 123 V(LoadGlobalCell) \ | 122 V(LoadGlobalCell) \ |
| 124 V(LoadGlobalGeneric) \ | 123 V(LoadGlobalGeneric) \ |
| 125 V(LoadKeyed) \ | 124 V(LoadKeyed) \ |
| 126 V(LoadKeyedGeneric) \ | 125 V(LoadKeyedGeneric) \ |
| 127 V(LoadNamedField) \ | 126 V(LoadNamedField) \ |
| 128 V(LoadNamedGeneric) \ | 127 V(LoadNamedGeneric) \ |
| 129 V(MapEnumLength) \ | 128 V(MapEnumLength) \ |
| (...skipping 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1504 | 1503 |
| 1505 class LLoadRoot V8_FINAL : public LTemplateInstruction<1, 0, 0> { | 1504 class LLoadRoot V8_FINAL : public LTemplateInstruction<1, 0, 0> { |
| 1506 public: | 1505 public: |
| 1507 DECLARE_CONCRETE_INSTRUCTION(LoadRoot, "load-root") | 1506 DECLARE_CONCRETE_INSTRUCTION(LoadRoot, "load-root") |
| 1508 DECLARE_HYDROGEN_ACCESSOR(LoadRoot) | 1507 DECLARE_HYDROGEN_ACCESSOR(LoadRoot) |
| 1509 | 1508 |
| 1510 Heap::RootListIndex index() const { return hydrogen()->index(); } | 1509 Heap::RootListIndex index() const { return hydrogen()->index(); } |
| 1511 }; | 1510 }; |
| 1512 | 1511 |
| 1513 | 1512 |
| 1514 class LLoadExternalArrayPointer V8_FINAL | |
| 1515 : public LTemplateInstruction<1, 1, 0> { | |
| 1516 public: | |
| 1517 explicit LLoadExternalArrayPointer(LOperand* object) { | |
| 1518 inputs_[0] = object; | |
| 1519 } | |
| 1520 | |
| 1521 LOperand* object() { return inputs_[0]; } | |
| 1522 | |
| 1523 DECLARE_CONCRETE_INSTRUCTION(LoadExternalArrayPointer, | |
| 1524 "load-external-array-pointer") | |
| 1525 }; | |
| 1526 | |
| 1527 | |
| 1528 class LLoadKeyed V8_FINAL : public LTemplateInstruction<1, 2, 0> { | 1513 class LLoadKeyed V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
| 1529 public: | 1514 public: |
| 1530 LLoadKeyed(LOperand* elements, LOperand* key) { | 1515 LLoadKeyed(LOperand* elements, LOperand* key) { |
| 1531 inputs_[0] = elements; | 1516 inputs_[0] = elements; |
| 1532 inputs_[1] = key; | 1517 inputs_[1] = key; |
| 1533 } | 1518 } |
| 1534 | 1519 |
| 1535 DECLARE_CONCRETE_INSTRUCTION(LoadKeyed, "load-keyed") | 1520 DECLARE_CONCRETE_INSTRUCTION(LoadKeyed, "load-keyed") |
| 1536 DECLARE_HYDROGEN_ACCESSOR(LoadKeyed) | 1521 DECLARE_HYDROGEN_ACCESSOR(LoadKeyed) |
| 1537 | 1522 |
| (...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2734 | 2719 |
| 2735 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2720 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2736 }; | 2721 }; |
| 2737 | 2722 |
| 2738 #undef DECLARE_HYDROGEN_ACCESSOR | 2723 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2739 #undef DECLARE_CONCRETE_INSTRUCTION | 2724 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2740 | 2725 |
| 2741 } } // namespace v8::int | 2726 } } // namespace v8::int |
| 2742 | 2727 |
| 2743 #endif // V8_X64_LITHIUM_X64_H_ | 2728 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |