| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 V(CallConstantFunction) \ | 80 V(CallConstantFunction) \ |
| 81 V(CallFunction) \ | 81 V(CallFunction) \ |
| 82 V(CallGlobal) \ | 82 V(CallGlobal) \ |
| 83 V(CallKeyed) \ | 83 V(CallKeyed) \ |
| 84 V(CallKnownGlobal) \ | 84 V(CallKnownGlobal) \ |
| 85 V(CallNamed) \ | 85 V(CallNamed) \ |
| 86 V(CallNew) \ | 86 V(CallNew) \ |
| 87 V(CallNewArray) \ | 87 V(CallNewArray) \ |
| 88 V(CallRuntime) \ | 88 V(CallRuntime) \ |
| 89 V(CallStub) \ | 89 V(CallStub) \ |
| 90 V(CallExternal) \ |
| 90 V(CapturedObject) \ | 91 V(CapturedObject) \ |
| 91 V(Change) \ | 92 V(Change) \ |
| 92 V(CheckHeapObject) \ | 93 V(CheckHeapObject) \ |
| 93 V(CheckInstanceType) \ | 94 V(CheckInstanceType) \ |
| 94 V(CheckMaps) \ | 95 V(CheckMaps) \ |
| 95 V(CheckMapValue) \ | 96 V(CheckMapValue) \ |
| 96 V(CheckSmi) \ | 97 V(CheckSmi) \ |
| 97 V(CheckValue) \ | 98 V(CheckValue) \ |
| 98 V(ClampToUint8) \ | 99 V(ClampToUint8) \ |
| 99 V(ClassOfTestAndBranch) \ | 100 V(ClassOfTestAndBranch) \ |
| (...skipping 5056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5156 : HUnaryCall(context, argument_count), | 5157 : HUnaryCall(context, argument_count), |
| 5157 major_key_(major_key), | 5158 major_key_(major_key), |
| 5158 transcendental_type_(TranscendentalCache::kNumberOfCaches) { | 5159 transcendental_type_(TranscendentalCache::kNumberOfCaches) { |
| 5159 } | 5160 } |
| 5160 | 5161 |
| 5161 CodeStub::Major major_key_; | 5162 CodeStub::Major major_key_; |
| 5162 TranscendentalCache::Type transcendental_type_; | 5163 TranscendentalCache::Type transcendental_type_; |
| 5163 }; | 5164 }; |
| 5164 | 5165 |
| 5165 | 5166 |
| 5167 class HCallExternal V8_FINAL : public HCall<0> { |
| 5168 public: |
| 5169 DECLARE_INSTRUCTION_FACTORY_P2(HCallExternal, ExternalReference, int); |
| 5170 |
| 5171 virtual Representation RequiredInputRepresentation( |
| 5172 int index) V8_FINAL V8_OVERRIDE { |
| 5173 return Representation::Tagged(); |
| 5174 } |
| 5175 |
| 5176 const ExternalReference& external_reference() const { |
| 5177 return external_reference_; |
| 5178 } |
| 5179 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 5180 |
| 5181 DECLARE_CONCRETE_INSTRUCTION(CallExternal) |
| 5182 |
| 5183 private: |
| 5184 HCallExternal(ExternalReference external_reference, int argc) |
| 5185 : HCall<0>(argc), |
| 5186 external_reference_(external_reference) { |
| 5187 } |
| 5188 |
| 5189 const ExternalReference external_reference_; |
| 5190 }; |
| 5191 |
| 5192 |
| 5166 class HUnknownOSRValue V8_FINAL : public HTemplateInstruction<0> { | 5193 class HUnknownOSRValue V8_FINAL : public HTemplateInstruction<0> { |
| 5167 public: | 5194 public: |
| 5168 DECLARE_INSTRUCTION_FACTORY_P2(HUnknownOSRValue, HEnvironment*, int); | 5195 DECLARE_INSTRUCTION_FACTORY_P2(HUnknownOSRValue, HEnvironment*, int); |
| 5169 | 5196 |
| 5170 virtual void PrintDataTo(StringStream* stream); | 5197 virtual void PrintDataTo(StringStream* stream); |
| 5171 | 5198 |
| 5172 virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { | 5199 virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { |
| 5173 return Representation::None(); | 5200 return Representation::None(); |
| 5174 } | 5201 } |
| 5175 | 5202 |
| (...skipping 2025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7201 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 7228 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
| 7202 }; | 7229 }; |
| 7203 | 7230 |
| 7204 | 7231 |
| 7205 #undef DECLARE_INSTRUCTION | 7232 #undef DECLARE_INSTRUCTION |
| 7206 #undef DECLARE_CONCRETE_INSTRUCTION | 7233 #undef DECLARE_CONCRETE_INSTRUCTION |
| 7207 | 7234 |
| 7208 } } // namespace v8::internal | 7235 } } // namespace v8::internal |
| 7209 | 7236 |
| 7210 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7237 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |