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_MIPS64_LITHIUM_MIPS_H_ | 5 #ifndef V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ |
6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ | 6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 V(GetCachedArrayIndex) \ | 83 V(GetCachedArrayIndex) \ |
84 V(Goto) \ | 84 V(Goto) \ |
85 V(HasCachedArrayIndexAndBranch) \ | 85 V(HasCachedArrayIndexAndBranch) \ |
86 V(HasInPrototypeChainAndBranch) \ | 86 V(HasInPrototypeChainAndBranch) \ |
87 V(HasInstanceTypeAndBranch) \ | 87 V(HasInstanceTypeAndBranch) \ |
88 V(InnerAllocatedObject) \ | 88 V(InnerAllocatedObject) \ |
89 V(InstanceOf) \ | 89 V(InstanceOf) \ |
90 V(InstructionGap) \ | 90 V(InstructionGap) \ |
91 V(Integer32ToDouble) \ | 91 V(Integer32ToDouble) \ |
92 V(InvokeFunction) \ | 92 V(InvokeFunction) \ |
93 V(IsConstructCallAndBranch) \ | |
94 V(IsStringAndBranch) \ | 93 V(IsStringAndBranch) \ |
95 V(IsSmiAndBranch) \ | 94 V(IsSmiAndBranch) \ |
96 V(IsUndetectableAndBranch) \ | 95 V(IsUndetectableAndBranch) \ |
97 V(Label) \ | 96 V(Label) \ |
98 V(LazyBailout) \ | 97 V(LazyBailout) \ |
99 V(LoadContextSlot) \ | 98 V(LoadContextSlot) \ |
100 V(LoadRoot) \ | 99 V(LoadRoot) \ |
101 V(LoadFieldByIndex) \ | 100 V(LoadFieldByIndex) \ |
102 V(LoadFunctionPrototype) \ | 101 V(LoadFunctionPrototype) \ |
103 V(LoadGlobalGeneric) \ | 102 V(LoadGlobalGeneric) \ |
(...skipping 2429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2533 | 2532 |
2534 DECLARE_CONCRETE_INSTRUCTION(TypeofIsAndBranch, "typeof-is-and-branch") | 2533 DECLARE_CONCRETE_INSTRUCTION(TypeofIsAndBranch, "typeof-is-and-branch") |
2535 DECLARE_HYDROGEN_ACCESSOR(TypeofIsAndBranch) | 2534 DECLARE_HYDROGEN_ACCESSOR(TypeofIsAndBranch) |
2536 | 2535 |
2537 Handle<String> type_literal() { return hydrogen()->type_literal(); } | 2536 Handle<String> type_literal() { return hydrogen()->type_literal(); } |
2538 | 2537 |
2539 void PrintDataTo(StringStream* stream) override; | 2538 void PrintDataTo(StringStream* stream) override; |
2540 }; | 2539 }; |
2541 | 2540 |
2542 | 2541 |
2543 class LIsConstructCallAndBranch final : public LControlInstruction<0, 1> { | |
2544 public: | |
2545 explicit LIsConstructCallAndBranch(LOperand* temp) { | |
2546 temps_[0] = temp; | |
2547 } | |
2548 | |
2549 LOperand* temp() { return temps_[0]; } | |
2550 | |
2551 DECLARE_CONCRETE_INSTRUCTION(IsConstructCallAndBranch, | |
2552 "is-construct-call-and-branch") | |
2553 }; | |
2554 | |
2555 | |
2556 class LOsrEntry final : public LTemplateInstruction<0, 0, 0> { | 2542 class LOsrEntry final : public LTemplateInstruction<0, 0, 0> { |
2557 public: | 2543 public: |
2558 LOsrEntry() {} | 2544 LOsrEntry() {} |
2559 | 2545 |
2560 bool HasInterestingComment(LCodeGen* gen) const override { return false; } | 2546 bool HasInterestingComment(LCodeGen* gen) const override { return false; } |
2561 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") | 2547 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") |
2562 }; | 2548 }; |
2563 | 2549 |
2564 | 2550 |
2565 class LStackCheck final : public LTemplateInstruction<0, 1, 0> { | 2551 class LStackCheck final : public LTemplateInstruction<0, 1, 0> { |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2812 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2798 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2813 }; | 2799 }; |
2814 | 2800 |
2815 #undef DECLARE_HYDROGEN_ACCESSOR | 2801 #undef DECLARE_HYDROGEN_ACCESSOR |
2816 #undef DECLARE_CONCRETE_INSTRUCTION | 2802 #undef DECLARE_CONCRETE_INSTRUCTION |
2817 | 2803 |
2818 } // namespace internal | 2804 } // namespace internal |
2819 } // namespace v8 | 2805 } // namespace v8 |
2820 | 2806 |
2821 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ | 2807 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ |
OLD | NEW |