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

Side by Side Diff: src/crankshaft/x87/lithium-x87.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/x87/lithium-codegen-x87.cc ('k') | src/crankshaft/x87/lithium-x87.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_X87_LITHIUM_X87_H_ 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_X87_H_
6 #define V8_CRANKSHAFT_X87_LITHIUM_X87_H_ 6 #define V8_CRANKSHAFT_X87_LITHIUM_X87_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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 V(GetCachedArrayIndex) \ 86 V(GetCachedArrayIndex) \
87 V(Goto) \ 87 V(Goto) \
88 V(HasCachedArrayIndexAndBranch) \ 88 V(HasCachedArrayIndexAndBranch) \
89 V(HasInPrototypeChainAndBranch) \ 89 V(HasInPrototypeChainAndBranch) \
90 V(HasInstanceTypeAndBranch) \ 90 V(HasInstanceTypeAndBranch) \
91 V(InnerAllocatedObject) \ 91 V(InnerAllocatedObject) \
92 V(InstanceOf) \ 92 V(InstanceOf) \
93 V(InstructionGap) \ 93 V(InstructionGap) \
94 V(Integer32ToDouble) \ 94 V(Integer32ToDouble) \
95 V(InvokeFunction) \ 95 V(InvokeFunction) \
96 V(IsConstructCallAndBranch) \
97 V(IsStringAndBranch) \ 96 V(IsStringAndBranch) \
98 V(IsSmiAndBranch) \ 97 V(IsSmiAndBranch) \
99 V(IsUndetectableAndBranch) \ 98 V(IsUndetectableAndBranch) \
100 V(Label) \ 99 V(Label) \
101 V(LazyBailout) \ 100 V(LazyBailout) \
102 V(LoadContextSlot) \ 101 V(LoadContextSlot) \
103 V(LoadFieldByIndex) \ 102 V(LoadFieldByIndex) \
104 V(LoadFunctionPrototype) \ 103 V(LoadFunctionPrototype) \
105 V(LoadGlobalGeneric) \ 104 V(LoadGlobalGeneric) \
106 V(LoadKeyed) \ 105 V(LoadKeyed) \
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 1115
1117 LOperand* value() { return inputs_[0]; } 1116 LOperand* value() { return inputs_[0]; }
1118 1117
1119 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndexAndBranch, 1118 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndexAndBranch,
1120 "has-cached-array-index-and-branch") 1119 "has-cached-array-index-and-branch")
1121 1120
1122 void PrintDataTo(StringStream* stream) override; 1121 void PrintDataTo(StringStream* stream) override;
1123 }; 1122 };
1124 1123
1125 1124
1126 class LIsConstructCallAndBranch final : public LControlInstruction<0, 1> {
1127 public:
1128 explicit LIsConstructCallAndBranch(LOperand* temp) {
1129 temps_[0] = temp;
1130 }
1131
1132 LOperand* temp() { return temps_[0]; }
1133
1134 DECLARE_CONCRETE_INSTRUCTION(IsConstructCallAndBranch,
1135 "is-construct-call-and-branch")
1136 };
1137
1138
1139 class LClassOfTestAndBranch final : public LControlInstruction<1, 2> { 1125 class LClassOfTestAndBranch final : public LControlInstruction<1, 2> {
1140 public: 1126 public:
1141 LClassOfTestAndBranch(LOperand* value, LOperand* temp, LOperand* temp2) { 1127 LClassOfTestAndBranch(LOperand* value, LOperand* temp, LOperand* temp2) {
1142 inputs_[0] = value; 1128 inputs_[0] = value;
1143 temps_[0] = temp; 1129 temps_[0] = temp;
1144 temps_[1] = temp2; 1130 temps_[1] = temp2;
1145 } 1131 }
1146 1132
1147 LOperand* value() { return inputs_[0]; } 1133 LOperand* value() { return inputs_[0]; }
1148 LOperand* temp() { return temps_[0]; } 1134 LOperand* temp() { return temps_[0]; }
(...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after
2820 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2806 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2821 }; 2807 };
2822 2808
2823 #undef DECLARE_HYDROGEN_ACCESSOR 2809 #undef DECLARE_HYDROGEN_ACCESSOR
2824 #undef DECLARE_CONCRETE_INSTRUCTION 2810 #undef DECLARE_CONCRETE_INSTRUCTION
2825 2811
2826 } // namespace internal 2812 } // namespace internal
2827 } // namespace v8 2813 } // namespace v8
2828 2814
2829 #endif // V8_CRANKSHAFT_X87_LITHIUM_X87_H_ 2815 #endif // V8_CRANKSHAFT_X87_LITHIUM_X87_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/crankshaft/x87/lithium-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698