Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Side by Side Diff: src/crankshaft/x64/lithium-x64.h

Issue 1479233002: Deprecate the %IsConstructCall intrinsic completely. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_js-use-new-target-3
Patch Set: Rebased. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/crankshaft/x64/lithium-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_X64_LITHIUM_X64_H_ 5 #ifndef V8_CRANKSHAFT_X64_LITHIUM_X64_H_
6 #define V8_CRANKSHAFT_X64_LITHIUM_X64_H_ 6 #define V8_CRANKSHAFT_X64_LITHIUM_X64_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
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 2395 matching lines...) Expand 10 before | Expand all | Expand 10 after
2497 2496
2498 DECLARE_CONCRETE_INSTRUCTION(TypeofIsAndBranch, "typeof-is-and-branch") 2497 DECLARE_CONCRETE_INSTRUCTION(TypeofIsAndBranch, "typeof-is-and-branch")
2499 DECLARE_HYDROGEN_ACCESSOR(TypeofIsAndBranch) 2498 DECLARE_HYDROGEN_ACCESSOR(TypeofIsAndBranch)
2500 2499
2501 Handle<String> type_literal() { return hydrogen()->type_literal(); } 2500 Handle<String> type_literal() { return hydrogen()->type_literal(); }
2502 2501
2503 void PrintDataTo(StringStream* stream) override; 2502 void PrintDataTo(StringStream* stream) override;
2504 }; 2503 };
2505 2504
2506 2505
2507 class LIsConstructCallAndBranch final : public LControlInstruction<0, 1> {
2508 public:
2509 explicit LIsConstructCallAndBranch(LOperand* temp) {
2510 temps_[0] = temp;
2511 }
2512
2513 LOperand* temp() { return temps_[0]; }
2514
2515 DECLARE_CONCRETE_INSTRUCTION(IsConstructCallAndBranch,
2516 "is-construct-call-and-branch")
2517 DECLARE_HYDROGEN_ACCESSOR(IsConstructCallAndBranch)
2518 };
2519
2520
2521 class LOsrEntry final : public LTemplateInstruction<0, 0, 0> { 2506 class LOsrEntry final : public LTemplateInstruction<0, 0, 0> {
2522 public: 2507 public:
2523 LOsrEntry() {} 2508 LOsrEntry() {}
2524 2509
2525 bool HasInterestingComment(LCodeGen* gen) const override { return false; } 2510 bool HasInterestingComment(LCodeGen* gen) const override { return false; }
2526 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") 2511 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry")
2527 }; 2512 };
2528 2513
2529 2514
2530 class LStackCheck final : public LTemplateInstruction<0, 1, 0> { 2515 class LStackCheck final : public LTemplateInstruction<0, 1, 0> {
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
2787 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2772 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2788 }; 2773 };
2789 2774
2790 #undef DECLARE_HYDROGEN_ACCESSOR 2775 #undef DECLARE_HYDROGEN_ACCESSOR
2791 #undef DECLARE_CONCRETE_INSTRUCTION 2776 #undef DECLARE_CONCRETE_INSTRUCTION
2792 2777
2793 } // namespace internal 2778 } // namespace internal
2794 } // namespace v8 2779 } // namespace v8
2795 2780
2796 #endif // V8_CRANKSHAFT_X64_LITHIUM_X64_H_ 2781 #endif // V8_CRANKSHAFT_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/crankshaft/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698