| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_X87_H_ | 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_X87_H_ |
| 6 #define V8_CRANKSHAFT_X87_LITHIUM_X87_H_ | 6 #define V8_CRANKSHAFT_X87_LITHIUM_X87_H_ |
| 7 | 7 |
| 8 #include "src/crankshaft/hydrogen.h" | 8 #include "src/crankshaft/hydrogen.h" |
| 9 #include "src/crankshaft/lithium.h" | 9 #include "src/crankshaft/lithium.h" |
| 10 #include "src/crankshaft/lithium-allocator.h" | 10 #include "src/crankshaft/lithium-allocator.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 V(ArithmeticD) \ | 32 V(ArithmeticD) \ |
| 33 V(ArithmeticT) \ | 33 V(ArithmeticT) \ |
| 34 V(BitI) \ | 34 V(BitI) \ |
| 35 V(BoundsCheck) \ | 35 V(BoundsCheck) \ |
| 36 V(Branch) \ | 36 V(Branch) \ |
| 37 V(CallJSFunction) \ | 37 V(CallJSFunction) \ |
| 38 V(CallWithDescriptor) \ | 38 V(CallWithDescriptor) \ |
| 39 V(CallFunction) \ | 39 V(CallFunction) \ |
| 40 V(CallNewArray) \ | 40 V(CallNewArray) \ |
| 41 V(CallRuntime) \ | 41 V(CallRuntime) \ |
| 42 V(CallStub) \ | |
| 43 V(CheckArrayBufferNotNeutered) \ | 42 V(CheckArrayBufferNotNeutered) \ |
| 44 V(CheckInstanceType) \ | 43 V(CheckInstanceType) \ |
| 45 V(CheckMaps) \ | 44 V(CheckMaps) \ |
| 46 V(CheckMapValue) \ | 45 V(CheckMapValue) \ |
| 47 V(CheckNonSmi) \ | 46 V(CheckNonSmi) \ |
| 48 V(CheckSmi) \ | 47 V(CheckSmi) \ |
| 49 V(CheckValue) \ | 48 V(CheckValue) \ |
| 50 V(ClampDToUint8) \ | 49 V(ClampDToUint8) \ |
| 51 V(ClampIToUint8) \ | 50 V(ClampIToUint8) \ |
| 52 V(ClampTToUint8NoSSE2) \ | 51 V(ClampTToUint8NoSSE2) \ |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 462 }; | 461 }; |
| 463 | 462 |
| 464 | 463 |
| 465 class LParameter final : public LTemplateInstruction<1, 0, 0> { | 464 class LParameter final : public LTemplateInstruction<1, 0, 0> { |
| 466 public: | 465 public: |
| 467 bool HasInterestingComment(LCodeGen* gen) const override { return false; } | 466 bool HasInterestingComment(LCodeGen* gen) const override { return false; } |
| 468 DECLARE_CONCRETE_INSTRUCTION(Parameter, "parameter") | 467 DECLARE_CONCRETE_INSTRUCTION(Parameter, "parameter") |
| 469 }; | 468 }; |
| 470 | 469 |
| 471 | 470 |
| 472 class LCallStub final : public LTemplateInstruction<1, 1, 0> { | |
| 473 public: | |
| 474 explicit LCallStub(LOperand* context) { | |
| 475 inputs_[0] = context; | |
| 476 } | |
| 477 | |
| 478 LOperand* context() { return inputs_[0]; } | |
| 479 | |
| 480 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") | |
| 481 DECLARE_HYDROGEN_ACCESSOR(CallStub) | |
| 482 }; | |
| 483 | |
| 484 | |
| 485 class LUnknownOSRValue final : public LTemplateInstruction<1, 0, 0> { | 471 class LUnknownOSRValue final : public LTemplateInstruction<1, 0, 0> { |
| 486 public: | 472 public: |
| 487 bool HasInterestingComment(LCodeGen* gen) const override { return false; } | 473 bool HasInterestingComment(LCodeGen* gen) const override { return false; } |
| 488 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") | 474 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") |
| 489 }; | 475 }; |
| 490 | 476 |
| 491 | 477 |
| 492 template<int I, int T> | 478 template<int I, int T> |
| 493 class LControlInstruction: public LTemplateInstruction<0, I, T> { | 479 class LControlInstruction: public LTemplateInstruction<0, I, T> { |
| 494 public: | 480 public: |
| (...skipping 2264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2759 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2745 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2760 }; | 2746 }; |
| 2761 | 2747 |
| 2762 #undef DECLARE_HYDROGEN_ACCESSOR | 2748 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2763 #undef DECLARE_CONCRETE_INSTRUCTION | 2749 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2764 | 2750 |
| 2765 } // namespace internal | 2751 } // namespace internal |
| 2766 } // namespace v8 | 2752 } // namespace v8 |
| 2767 | 2753 |
| 2768 #endif // V8_CRANKSHAFT_X87_LITHIUM_X87_H_ | 2754 #endif // V8_CRANKSHAFT_X87_LITHIUM_X87_H_ |
| OLD | NEW |