| 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_ARM_LITHIUM_ARM_H_ | 5 #ifndef V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ |
| 6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ | 6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_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 2426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2528 | 2527 |
| 2529 DECLARE_CONCRETE_INSTRUCTION(TypeofIsAndBranch, "typeof-is-and-branch") | 2528 DECLARE_CONCRETE_INSTRUCTION(TypeofIsAndBranch, "typeof-is-and-branch") |
| 2530 DECLARE_HYDROGEN_ACCESSOR(TypeofIsAndBranch) | 2529 DECLARE_HYDROGEN_ACCESSOR(TypeofIsAndBranch) |
| 2531 | 2530 |
| 2532 Handle<String> type_literal() { return hydrogen()->type_literal(); } | 2531 Handle<String> type_literal() { return hydrogen()->type_literal(); } |
| 2533 | 2532 |
| 2534 void PrintDataTo(StringStream* stream) override; | 2533 void PrintDataTo(StringStream* stream) override; |
| 2535 }; | 2534 }; |
| 2536 | 2535 |
| 2537 | 2536 |
| 2538 class LIsConstructCallAndBranch final : public LControlInstruction<0, 1> { | |
| 2539 public: | |
| 2540 explicit LIsConstructCallAndBranch(LOperand* temp) { | |
| 2541 temps_[0] = temp; | |
| 2542 } | |
| 2543 | |
| 2544 LOperand* temp() { return temps_[0]; } | |
| 2545 | |
| 2546 DECLARE_CONCRETE_INSTRUCTION(IsConstructCallAndBranch, | |
| 2547 "is-construct-call-and-branch") | |
| 2548 }; | |
| 2549 | |
| 2550 | |
| 2551 class LOsrEntry final : public LTemplateInstruction<0, 0, 0> { | 2537 class LOsrEntry final : public LTemplateInstruction<0, 0, 0> { |
| 2552 public: | 2538 public: |
| 2553 LOsrEntry() {} | 2539 LOsrEntry() {} |
| 2554 | 2540 |
| 2555 bool HasInterestingComment(LCodeGen* gen) const override { return false; } | 2541 bool HasInterestingComment(LCodeGen* gen) const override { return false; } |
| 2556 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") | 2542 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") |
| 2557 }; | 2543 }; |
| 2558 | 2544 |
| 2559 | 2545 |
| 2560 class LStackCheck final : public LTemplateInstruction<0, 1, 0> { | 2546 class LStackCheck final : public LTemplateInstruction<0, 1, 0> { |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2808 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2794 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2809 }; | 2795 }; |
| 2810 | 2796 |
| 2811 #undef DECLARE_HYDROGEN_ACCESSOR | 2797 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2812 #undef DECLARE_CONCRETE_INSTRUCTION | 2798 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2813 | 2799 |
| 2814 } // namespace internal | 2800 } // namespace internal |
| 2815 } // namespace v8 | 2801 } // namespace v8 |
| 2816 | 2802 |
| 2817 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ | 2803 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |