| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 V(Integer32ToSmi) \ | 112 V(Integer32ToSmi) \ |
| 113 V(InvokeFunction) \ | 113 V(InvokeFunction) \ |
| 114 V(IsConstructCallAndBranch) \ | 114 V(IsConstructCallAndBranch) \ |
| 115 V(IsObjectAndBranch) \ | 115 V(IsObjectAndBranch) \ |
| 116 V(IsStringAndBranch) \ | 116 V(IsStringAndBranch) \ |
| 117 V(IsSmiAndBranch) \ | 117 V(IsSmiAndBranch) \ |
| 118 V(IsNumberAndBranch) \ | 118 V(IsNumberAndBranch) \ |
| 119 V(IsUndetectableAndBranch) \ | 119 V(IsUndetectableAndBranch) \ |
| 120 V(Label) \ | 120 V(Label) \ |
| 121 V(LazyBailout) \ | 121 V(LazyBailout) \ |
| 122 V(LinkObjectInList) \ | |
| 123 V(LoadContextSlot) \ | 122 V(LoadContextSlot) \ |
| 124 V(LoadExternalArrayPointer) \ | 123 V(LoadExternalArrayPointer) \ |
| 125 V(LoadFieldByIndex) \ | 124 V(LoadFieldByIndex) \ |
| 126 V(LoadFunctionPrototype) \ | 125 V(LoadFunctionPrototype) \ |
| 127 V(LoadGlobalCell) \ | 126 V(LoadGlobalCell) \ |
| 128 V(LoadGlobalGeneric) \ | 127 V(LoadGlobalGeneric) \ |
| 129 V(LoadKeyed) \ | 128 V(LoadKeyed) \ |
| 130 V(LoadKeyedGeneric) \ | 129 V(LoadKeyedGeneric) \ |
| 131 V(LoadNamedField) \ | 130 V(LoadNamedField) \ |
| 132 V(LoadNamedFieldPolymorphic) \ | 131 V(LoadNamedFieldPolymorphic) \ |
| (...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1606 LOperand* value() { return inputs_[1]; } | 1605 LOperand* value() { return inputs_[1]; } |
| 1607 | 1606 |
| 1608 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic") | 1607 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalGeneric, "store-global-generic") |
| 1609 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric) | 1608 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalGeneric) |
| 1610 | 1609 |
| 1611 Handle<Object> name() const { return hydrogen()->name(); } | 1610 Handle<Object> name() const { return hydrogen()->name(); } |
| 1612 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } | 1611 StrictModeFlag strict_mode_flag() { return hydrogen()->strict_mode_flag(); } |
| 1613 }; | 1612 }; |
| 1614 | 1613 |
| 1615 | 1614 |
| 1616 class LLinkObjectInList: public LTemplateInstruction<0, 1, 0> { | |
| 1617 public: | |
| 1618 explicit LLinkObjectInList(LOperand* object) { | |
| 1619 inputs_[0] = object; | |
| 1620 } | |
| 1621 | |
| 1622 LOperand* object() { return inputs_[0]; } | |
| 1623 | |
| 1624 ExternalReference GetReference(Isolate* isolate); | |
| 1625 | |
| 1626 DECLARE_CONCRETE_INSTRUCTION(LinkObjectInList, "link-object-in-list") | |
| 1627 DECLARE_HYDROGEN_ACCESSOR(LinkObjectInList) | |
| 1628 | |
| 1629 virtual void PrintDataTo(StringStream* stream); | |
| 1630 }; | |
| 1631 | |
| 1632 | |
| 1633 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> { | 1615 class LLoadContextSlot: public LTemplateInstruction<1, 1, 0> { |
| 1634 public: | 1616 public: |
| 1635 explicit LLoadContextSlot(LOperand* context) { | 1617 explicit LLoadContextSlot(LOperand* context) { |
| 1636 inputs_[0] = context; | 1618 inputs_[0] = context; |
| 1637 } | 1619 } |
| 1638 | 1620 |
| 1639 LOperand* context() { return inputs_[0]; } | 1621 LOperand* context() { return inputs_[0]; } |
| 1640 | 1622 |
| 1641 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") | 1623 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") |
| 1642 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) | 1624 DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) |
| (...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2718 | 2700 |
| 2719 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2701 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2720 }; | 2702 }; |
| 2721 | 2703 |
| 2722 #undef DECLARE_HYDROGEN_ACCESSOR | 2704 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2723 #undef DECLARE_CONCRETE_INSTRUCTION | 2705 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2724 | 2706 |
| 2725 } } // namespace v8::int | 2707 } } // namespace v8::int |
| 2726 | 2708 |
| 2727 #endif // V8_X64_LITHIUM_X64_H_ | 2709 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |