OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 V(HasCachedArrayIndexAndBranch) \ | 95 V(HasCachedArrayIndexAndBranch) \ |
96 V(HasInstanceType) \ | 96 V(HasInstanceType) \ |
97 V(HasInstanceTypeAndBranch) \ | 97 V(HasInstanceTypeAndBranch) \ |
98 V(In) \ | 98 V(In) \ |
99 V(InstanceOf) \ | 99 V(InstanceOf) \ |
100 V(InstanceOfAndBranch) \ | 100 V(InstanceOfAndBranch) \ |
101 V(InstanceOfKnownGlobal) \ | 101 V(InstanceOfKnownGlobal) \ |
102 V(InstructionGap) \ | 102 V(InstructionGap) \ |
103 V(Integer32ToDouble) \ | 103 V(Integer32ToDouble) \ |
104 V(InvokeFunction) \ | 104 V(InvokeFunction) \ |
| 105 V(IsConstructCall) \ |
| 106 V(IsConstructCallAndBranch) \ |
105 V(IsNull) \ | 107 V(IsNull) \ |
106 V(IsNullAndBranch) \ | 108 V(IsNullAndBranch) \ |
107 V(IsObject) \ | 109 V(IsObject) \ |
108 V(IsObjectAndBranch) \ | 110 V(IsObjectAndBranch) \ |
109 V(IsSmi) \ | 111 V(IsSmi) \ |
110 V(IsSmiAndBranch) \ | 112 V(IsSmiAndBranch) \ |
111 V(IsConstructCall) \ | 113 V(IsUndetectable) \ |
112 V(IsConstructCallAndBranch) \ | 114 V(IsUndetectableAndBranch) \ |
113 V(JSArrayLength) \ | 115 V(JSArrayLength) \ |
114 V(Label) \ | 116 V(Label) \ |
115 V(LazyBailout) \ | 117 V(LazyBailout) \ |
116 V(LoadContextSlot) \ | 118 V(LoadContextSlot) \ |
117 V(LoadElements) \ | 119 V(LoadElements) \ |
118 V(LoadExternalArrayPointer) \ | 120 V(LoadExternalArrayPointer) \ |
119 V(LoadFunctionPrototype) \ | 121 V(LoadFunctionPrototype) \ |
120 V(LoadGlobalCell) \ | 122 V(LoadGlobalCell) \ |
121 V(LoadGlobalGeneric) \ | 123 V(LoadGlobalGeneric) \ |
122 V(LoadKeyedFastElement) \ | 124 V(LoadKeyedFastElement) \ |
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
736 explicit LIsSmiAndBranch(LOperand* value) { | 738 explicit LIsSmiAndBranch(LOperand* value) { |
737 inputs_[0] = value; | 739 inputs_[0] = value; |
738 } | 740 } |
739 | 741 |
740 DECLARE_CONCRETE_INSTRUCTION(IsSmiAndBranch, "is-smi-and-branch") | 742 DECLARE_CONCRETE_INSTRUCTION(IsSmiAndBranch, "is-smi-and-branch") |
741 | 743 |
742 virtual void PrintDataTo(StringStream* stream); | 744 virtual void PrintDataTo(StringStream* stream); |
743 }; | 745 }; |
744 | 746 |
745 | 747 |
| 748 class LIsUndetectable: public LTemplateInstruction<1, 1, 0> { |
| 749 public: |
| 750 explicit LIsUndetectable(LOperand* value) { |
| 751 inputs_[0] = value; |
| 752 } |
| 753 |
| 754 DECLARE_CONCRETE_INSTRUCTION(IsUndetectable, "is-undetectable") |
| 755 DECLARE_HYDROGEN_ACCESSOR(IsUndetectable) |
| 756 }; |
| 757 |
| 758 |
| 759 class LIsUndetectableAndBranch: public LControlInstruction<1, 1> { |
| 760 public: |
| 761 explicit LIsUndetectableAndBranch(LOperand* value, LOperand* temp) { |
| 762 inputs_[0] = value; |
| 763 temps_[0] = temp; |
| 764 } |
| 765 |
| 766 DECLARE_CONCRETE_INSTRUCTION(IsUndetectableAndBranch, |
| 767 "is-undetectable-and-branch") |
| 768 |
| 769 virtual void PrintDataTo(StringStream* stream); |
| 770 }; |
| 771 |
| 772 |
746 class LHasInstanceType: public LTemplateInstruction<1, 1, 0> { | 773 class LHasInstanceType: public LTemplateInstruction<1, 1, 0> { |
747 public: | 774 public: |
748 explicit LHasInstanceType(LOperand* value) { | 775 explicit LHasInstanceType(LOperand* value) { |
749 inputs_[0] = value; | 776 inputs_[0] = value; |
750 } | 777 } |
751 | 778 |
752 DECLARE_CONCRETE_INSTRUCTION(HasInstanceType, "has-instance-type") | 779 DECLARE_CONCRETE_INSTRUCTION(HasInstanceType, "has-instance-type") |
753 DECLARE_HYDROGEN_ACCESSOR(HasInstanceType) | 780 DECLARE_HYDROGEN_ACCESSOR(HasInstanceType) |
754 }; | 781 }; |
755 | 782 |
(...skipping 1542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2298 | 2325 |
2299 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2326 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2300 }; | 2327 }; |
2301 | 2328 |
2302 #undef DECLARE_HYDROGEN_ACCESSOR | 2329 #undef DECLARE_HYDROGEN_ACCESSOR |
2303 #undef DECLARE_CONCRETE_INSTRUCTION | 2330 #undef DECLARE_CONCRETE_INSTRUCTION |
2304 | 2331 |
2305 } } // namespace v8::internal | 2332 } } // namespace v8::internal |
2306 | 2333 |
2307 #endif // V8_IA32_LITHIUM_IA32_H_ | 2334 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |