| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC_LITHIUM_PPC_H_ | 5 #ifndef V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ |
| 6 #define V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ | 6 #define V8_CRANKSHAFT_PPC_LITHIUM_PPC_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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 V(GetCachedArrayIndex) \ | 81 V(GetCachedArrayIndex) \ |
| 82 V(Goto) \ | 82 V(Goto) \ |
| 83 V(HasCachedArrayIndexAndBranch) \ | 83 V(HasCachedArrayIndexAndBranch) \ |
| 84 V(HasInPrototypeChainAndBranch) \ | 84 V(HasInPrototypeChainAndBranch) \ |
| 85 V(HasInstanceTypeAndBranch) \ | 85 V(HasInstanceTypeAndBranch) \ |
| 86 V(InnerAllocatedObject) \ | 86 V(InnerAllocatedObject) \ |
| 87 V(InstanceOf) \ | 87 V(InstanceOf) \ |
| 88 V(InstructionGap) \ | 88 V(InstructionGap) \ |
| 89 V(Integer32ToDouble) \ | 89 V(Integer32ToDouble) \ |
| 90 V(InvokeFunction) \ | 90 V(InvokeFunction) \ |
| 91 V(IsConstructCallAndBranch) \ | |
| 92 V(IsStringAndBranch) \ | 91 V(IsStringAndBranch) \ |
| 93 V(IsSmiAndBranch) \ | 92 V(IsSmiAndBranch) \ |
| 94 V(IsUndetectableAndBranch) \ | 93 V(IsUndetectableAndBranch) \ |
| 95 V(Label) \ | 94 V(Label) \ |
| 96 V(LazyBailout) \ | 95 V(LazyBailout) \ |
| 97 V(LoadContextSlot) \ | 96 V(LoadContextSlot) \ |
| 98 V(LoadRoot) \ | 97 V(LoadRoot) \ |
| 99 V(LoadFieldByIndex) \ | 98 V(LoadFieldByIndex) \ |
| 100 V(LoadFunctionPrototype) \ | 99 V(LoadFunctionPrototype) \ |
| 101 V(LoadGlobalGeneric) \ | 100 V(LoadGlobalGeneric) \ |
| (...skipping 2318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2420 | 2419 |
| 2421 DECLARE_CONCRETE_INSTRUCTION(TypeofIsAndBranch, "typeof-is-and-branch") | 2420 DECLARE_CONCRETE_INSTRUCTION(TypeofIsAndBranch, "typeof-is-and-branch") |
| 2422 DECLARE_HYDROGEN_ACCESSOR(TypeofIsAndBranch) | 2421 DECLARE_HYDROGEN_ACCESSOR(TypeofIsAndBranch) |
| 2423 | 2422 |
| 2424 Handle<String> type_literal() { return hydrogen()->type_literal(); } | 2423 Handle<String> type_literal() { return hydrogen()->type_literal(); } |
| 2425 | 2424 |
| 2426 void PrintDataTo(StringStream* stream) override; | 2425 void PrintDataTo(StringStream* stream) override; |
| 2427 }; | 2426 }; |
| 2428 | 2427 |
| 2429 | 2428 |
| 2430 class LIsConstructCallAndBranch final : public LControlInstruction<0, 1> { | |
| 2431 public: | |
| 2432 explicit LIsConstructCallAndBranch(LOperand* temp) { temps_[0] = temp; } | |
| 2433 | |
| 2434 LOperand* temp() { return temps_[0]; } | |
| 2435 | |
| 2436 DECLARE_CONCRETE_INSTRUCTION(IsConstructCallAndBranch, | |
| 2437 "is-construct-call-and-branch") | |
| 2438 }; | |
| 2439 | |
| 2440 | |
| 2441 class LOsrEntry final : public LTemplateInstruction<0, 0, 0> { | 2429 class LOsrEntry final : public LTemplateInstruction<0, 0, 0> { |
| 2442 public: | 2430 public: |
| 2443 LOsrEntry() {} | 2431 LOsrEntry() {} |
| 2444 | 2432 |
| 2445 bool HasInterestingComment(LCodeGen* gen) const override { return false; } | 2433 bool HasInterestingComment(LCodeGen* gen) const override { return false; } |
| 2446 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") | 2434 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") |
| 2447 }; | 2435 }; |
| 2448 | 2436 |
| 2449 | 2437 |
| 2450 class LStackCheck final : public LTemplateInstruction<0, 1, 0> { | 2438 class LStackCheck final : public LTemplateInstruction<0, 1, 0> { |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2685 | 2673 |
| 2686 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2674 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2687 }; | 2675 }; |
| 2688 | 2676 |
| 2689 #undef DECLARE_HYDROGEN_ACCESSOR | 2677 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2690 #undef DECLARE_CONCRETE_INSTRUCTION | 2678 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2691 } // namespace internal | 2679 } // namespace internal |
| 2692 } // namespace v8 | 2680 } // namespace v8 |
| 2693 | 2681 |
| 2694 #endif // V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ | 2682 #endif // V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ |
| OLD | NEW |