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(InstanceOfKnownGlobal) \ | 109 V(InstanceOfKnownGlobal) \ |
110 V(InstanceSize) \ | 110 V(InstanceSize) \ |
111 V(InstructionGap) \ | 111 V(InstructionGap) \ |
112 V(Integer32ToDouble) \ | 112 V(Integer32ToDouble) \ |
113 V(Integer32ToSmi) \ | 113 V(Integer32ToSmi) \ |
114 V(InvokeFunction) \ | 114 V(InvokeFunction) \ |
115 V(IsConstructCallAndBranch) \ | 115 V(IsConstructCallAndBranch) \ |
116 V(IsObjectAndBranch) \ | 116 V(IsObjectAndBranch) \ |
117 V(IsStringAndBranch) \ | 117 V(IsStringAndBranch) \ |
118 V(IsSmiAndBranch) \ | 118 V(IsSmiAndBranch) \ |
119 V(IsNumberAndBranch) \ | |
120 V(IsUndetectableAndBranch) \ | 119 V(IsUndetectableAndBranch) \ |
121 V(Label) \ | 120 V(Label) \ |
122 V(LazyBailout) \ | 121 V(LazyBailout) \ |
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) \ |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 | 914 |
916 LOperand* value() { return inputs_[0]; } | 915 LOperand* value() { return inputs_[0]; } |
917 LOperand* temp() { return temps_[0]; } | 916 LOperand* temp() { return temps_[0]; } |
918 | 917 |
919 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") | 918 DECLARE_CONCRETE_INSTRUCTION(IsObjectAndBranch, "is-object-and-branch") |
920 | 919 |
921 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 920 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
922 }; | 921 }; |
923 | 922 |
924 | 923 |
925 class LIsNumberAndBranch V8_FINAL : public LControlInstruction<1, 0> { | |
926 public: | |
927 explicit LIsNumberAndBranch(LOperand* value) { | |
928 inputs_[0] = value; | |
929 } | |
930 | |
931 LOperand* value() { return inputs_[0]; } | |
932 | |
933 DECLARE_CONCRETE_INSTRUCTION(IsNumberAndBranch, "is-number-and-branch") | |
934 DECLARE_HYDROGEN_ACCESSOR(IsNumberAndBranch) | |
935 }; | |
936 | |
937 | |
938 class LIsStringAndBranch V8_FINAL : public LControlInstruction<1, 1> { | 924 class LIsStringAndBranch V8_FINAL : public LControlInstruction<1, 1> { |
939 public: | 925 public: |
940 LIsStringAndBranch(LOperand* value, LOperand* temp) { | 926 LIsStringAndBranch(LOperand* value, LOperand* temp) { |
941 inputs_[0] = value; | 927 inputs_[0] = value; |
942 temps_[0] = temp; | 928 temps_[0] = temp; |
943 } | 929 } |
944 | 930 |
945 LOperand* value() { return inputs_[0]; } | 931 LOperand* value() { return inputs_[0]; } |
946 LOperand* temp() { return temps_[0]; } | 932 LOperand* temp() { return temps_[0]; } |
947 | 933 |
(...skipping 1979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2927 | 2913 |
2928 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2914 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2929 }; | 2915 }; |
2930 | 2916 |
2931 #undef DECLARE_HYDROGEN_ACCESSOR | 2917 #undef DECLARE_HYDROGEN_ACCESSOR |
2932 #undef DECLARE_CONCRETE_INSTRUCTION | 2918 #undef DECLARE_CONCRETE_INSTRUCTION |
2933 | 2919 |
2934 } } // namespace v8::internal | 2920 } } // namespace v8::internal |
2935 | 2921 |
2936 #endif // V8_IA32_LITHIUM_IA32_H_ | 2922 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |