| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 V(DoubleToI) \ | 89 V(DoubleToI) \ |
| 90 V(DoubleToSmi) \ | 90 V(DoubleToSmi) \ |
| 91 V(Drop) \ | 91 V(Drop) \ |
| 92 V(DummyUse) \ | 92 V(DummyUse) \ |
| 93 V(Dummy) \ | 93 V(Dummy) \ |
| 94 V(ElementsKind) \ | 94 V(ElementsKind) \ |
| 95 V(ForInCacheArray) \ | 95 V(ForInCacheArray) \ |
| 96 V(ForInPrepareMap) \ | 96 V(ForInPrepareMap) \ |
| 97 V(FunctionLiteral) \ | 97 V(FunctionLiteral) \ |
| 98 V(GetCachedArrayIndex) \ | 98 V(GetCachedArrayIndex) \ |
| 99 V(GlobalObject) \ | |
| 100 V(GlobalReceiver) \ | |
| 101 V(Goto) \ | 99 V(Goto) \ |
| 102 V(HasCachedArrayIndexAndBranch) \ | 100 V(HasCachedArrayIndexAndBranch) \ |
| 103 V(HasInstanceTypeAndBranch) \ | 101 V(HasInstanceTypeAndBranch) \ |
| 104 V(InnerAllocatedObject) \ | 102 V(InnerAllocatedObject) \ |
| 105 V(InstanceOf) \ | 103 V(InstanceOf) \ |
| 106 V(InstanceOfKnownGlobal) \ | 104 V(InstanceOfKnownGlobal) \ |
| 107 V(InstructionGap) \ | 105 V(InstructionGap) \ |
| 108 V(Integer32ToDouble) \ | 106 V(Integer32ToDouble) \ |
| 109 V(Integer32ToSmi) \ | 107 V(Integer32ToSmi) \ |
| 110 V(InvokeFunction) \ | 108 V(InvokeFunction) \ |
| (...skipping 1614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1725 inputs_[0] = context; | 1723 inputs_[0] = context; |
| 1726 } | 1724 } |
| 1727 | 1725 |
| 1728 LOperand* context() { return inputs_[0]; } | 1726 LOperand* context() { return inputs_[0]; } |
| 1729 | 1727 |
| 1730 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") | 1728 DECLARE_CONCRETE_INSTRUCTION(DeclareGlobals, "declare-globals") |
| 1731 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) | 1729 DECLARE_HYDROGEN_ACCESSOR(DeclareGlobals) |
| 1732 }; | 1730 }; |
| 1733 | 1731 |
| 1734 | 1732 |
| 1735 class LGlobalObject V8_FINAL : public LTemplateInstruction<1, 1, 0> { | |
| 1736 public: | |
| 1737 explicit LGlobalObject(LOperand* context) { | |
| 1738 inputs_[0] = context; | |
| 1739 } | |
| 1740 | |
| 1741 LOperand* context() { return inputs_[0]; } | |
| 1742 | |
| 1743 DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object") | |
| 1744 }; | |
| 1745 | |
| 1746 | |
| 1747 class LGlobalReceiver V8_FINAL : public LTemplateInstruction<1, 1, 0> { | |
| 1748 public: | |
| 1749 explicit LGlobalReceiver(LOperand* global_object) { | |
| 1750 inputs_[0] = global_object; | |
| 1751 } | |
| 1752 | |
| 1753 LOperand* global() { return inputs_[0]; } | |
| 1754 | |
| 1755 DECLARE_CONCRETE_INSTRUCTION(GlobalReceiver, "global-receiver") | |
| 1756 }; | |
| 1757 | |
| 1758 | |
| 1759 class LCallJSFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1733 class LCallJSFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 1760 public: | 1734 public: |
| 1761 explicit LCallJSFunction(LOperand* function) { | 1735 explicit LCallJSFunction(LOperand* function) { |
| 1762 inputs_[0] = function; | 1736 inputs_[0] = function; |
| 1763 } | 1737 } |
| 1764 | 1738 |
| 1765 LOperand* function() { return inputs_[0]; } | 1739 LOperand* function() { return inputs_[0]; } |
| 1766 | 1740 |
| 1767 DECLARE_CONCRETE_INSTRUCTION(CallJSFunction, "call-js-function") | 1741 DECLARE_CONCRETE_INSTRUCTION(CallJSFunction, "call-js-function") |
| 1768 DECLARE_HYDROGEN_ACCESSOR(CallJSFunction) | 1742 DECLARE_HYDROGEN_ACCESSOR(CallJSFunction) |
| (...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2734 | 2708 |
| 2735 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2709 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2736 }; | 2710 }; |
| 2737 | 2711 |
| 2738 #undef DECLARE_HYDROGEN_ACCESSOR | 2712 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2739 #undef DECLARE_CONCRETE_INSTRUCTION | 2713 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2740 | 2714 |
| 2741 } } // namespace v8::int | 2715 } } // namespace v8::int |
| 2742 | 2716 |
| 2743 #endif // V8_X64_LITHIUM_X64_H_ | 2717 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |