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

Side by Side Diff: src/crankshaft/arm64/lithium-arm64.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/arm/lithium-codegen-arm.cc ('k') | src/crankshaft/arm64/lithium-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64_LITHIUM_ARM64_H_ 5 #ifndef V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_
6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 V(GetCachedArrayIndex) \ 84 V(GetCachedArrayIndex) \
85 V(Goto) \ 85 V(Goto) \
86 V(HasCachedArrayIndexAndBranch) \ 86 V(HasCachedArrayIndexAndBranch) \
87 V(HasInPrototypeChainAndBranch) \ 87 V(HasInPrototypeChainAndBranch) \
88 V(HasInstanceTypeAndBranch) \ 88 V(HasInstanceTypeAndBranch) \
89 V(InnerAllocatedObject) \ 89 V(InnerAllocatedObject) \
90 V(InstanceOf) \ 90 V(InstanceOf) \
91 V(InstructionGap) \ 91 V(InstructionGap) \
92 V(Integer32ToDouble) \ 92 V(Integer32ToDouble) \
93 V(InvokeFunction) \ 93 V(InvokeFunction) \
94 V(IsConstructCallAndBranch) \
95 V(IsSmiAndBranch) \ 94 V(IsSmiAndBranch) \
96 V(IsStringAndBranch) \ 95 V(IsStringAndBranch) \
97 V(IsUndetectableAndBranch) \ 96 V(IsUndetectableAndBranch) \
98 V(Label) \ 97 V(Label) \
99 V(LazyBailout) \ 98 V(LazyBailout) \
100 V(LoadContextSlot) \ 99 V(LoadContextSlot) \
101 V(LoadFieldByIndex) \ 100 V(LoadFieldByIndex) \
102 V(LoadFunctionPrototype) \ 101 V(LoadFunctionPrototype) \
103 V(LoadGlobalGeneric) \ 102 V(LoadGlobalGeneric) \
104 V(LoadKeyedExternal) \ 103 V(LoadKeyedExternal) \
(...skipping 1450 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 1554
1556 DECLARE_CONCRETE_INSTRUCTION(InvokeFunction, "invoke-function") 1555 DECLARE_CONCRETE_INSTRUCTION(InvokeFunction, "invoke-function")
1557 DECLARE_HYDROGEN_ACCESSOR(InvokeFunction) 1556 DECLARE_HYDROGEN_ACCESSOR(InvokeFunction)
1558 1557
1559 void PrintDataTo(StringStream* stream) override; 1558 void PrintDataTo(StringStream* stream) override;
1560 1559
1561 int arity() const { return hydrogen()->argument_count() - 1; } 1560 int arity() const { return hydrogen()->argument_count() - 1; }
1562 }; 1561 };
1563 1562
1564 1563
1565 class LIsConstructCallAndBranch final : public LControlInstruction<0, 2> {
1566 public:
1567 LIsConstructCallAndBranch(LOperand* temp1, LOperand* temp2) {
1568 temps_[0] = temp1;
1569 temps_[1] = temp2;
1570 }
1571
1572 LOperand* temp1() { return temps_[0]; }
1573 LOperand* temp2() { return temps_[1]; }
1574
1575 DECLARE_CONCRETE_INSTRUCTION(IsConstructCallAndBranch,
1576 "is-construct-call-and-branch")
1577 };
1578
1579
1580 class LIsStringAndBranch final : public LControlInstruction<1, 1> { 1564 class LIsStringAndBranch final : public LControlInstruction<1, 1> {
1581 public: 1565 public:
1582 LIsStringAndBranch(LOperand* value, LOperand* temp) { 1566 LIsStringAndBranch(LOperand* value, LOperand* temp) {
1583 inputs_[0] = value; 1567 inputs_[0] = value;
1584 temps_[0] = temp; 1568 temps_[0] = temp;
1585 } 1569 }
1586 1570
1587 LOperand* value() { return inputs_[0]; } 1571 LOperand* value() { return inputs_[0]; }
1588 LOperand* temp() { return temps_[0]; } 1572 LOperand* temp() { return temps_[0]; }
1589 1573
(...skipping 1587 matching lines...) Expand 10 before | Expand all | Expand 10 after
3177 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 3161 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
3178 }; 3162 };
3179 3163
3180 #undef DECLARE_HYDROGEN_ACCESSOR 3164 #undef DECLARE_HYDROGEN_ACCESSOR
3181 #undef DECLARE_CONCRETE_INSTRUCTION 3165 #undef DECLARE_CONCRETE_INSTRUCTION
3182 3166
3183 } // namespace internal 3167 } // namespace internal
3184 } // namespace v8 3168 } // namespace v8
3185 3169
3186 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ 3170 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_
OLDNEW
« no previous file with comments | « src/crankshaft/arm/lithium-codegen-arm.cc ('k') | src/crankshaft/arm64/lithium-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698