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

Side by Side Diff: src/crankshaft/ia32/lithium-ia32.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/ia32/lithium-codegen-ia32.cc ('k') | src/crankshaft/ia32/lithium-ia32.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_IA32_LITHIUM_IA32_H_ 5 #ifndef V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_
6 #define V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ 6 #define V8_CRANKSHAFT_IA32_LITHIUM_IA32_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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 V(GetCachedArrayIndex) \ 85 V(GetCachedArrayIndex) \
86 V(Goto) \ 86 V(Goto) \
87 V(HasCachedArrayIndexAndBranch) \ 87 V(HasCachedArrayIndexAndBranch) \
88 V(HasInPrototypeChainAndBranch) \ 88 V(HasInPrototypeChainAndBranch) \
89 V(HasInstanceTypeAndBranch) \ 89 V(HasInstanceTypeAndBranch) \
90 V(InnerAllocatedObject) \ 90 V(InnerAllocatedObject) \
91 V(InstanceOf) \ 91 V(InstanceOf) \
92 V(InstructionGap) \ 92 V(InstructionGap) \
93 V(Integer32ToDouble) \ 93 V(Integer32ToDouble) \
94 V(InvokeFunction) \ 94 V(InvokeFunction) \
95 V(IsConstructCallAndBranch) \
96 V(IsStringAndBranch) \ 95 V(IsStringAndBranch) \
97 V(IsSmiAndBranch) \ 96 V(IsSmiAndBranch) \
98 V(IsUndetectableAndBranch) \ 97 V(IsUndetectableAndBranch) \
99 V(Label) \ 98 V(Label) \
100 V(LazyBailout) \ 99 V(LazyBailout) \
101 V(LoadContextSlot) \ 100 V(LoadContextSlot) \
102 V(LoadFieldByIndex) \ 101 V(LoadFieldByIndex) \
103 V(LoadFunctionPrototype) \ 102 V(LoadFunctionPrototype) \
104 V(LoadGlobalGeneric) \ 103 V(LoadGlobalGeneric) \
105 V(LoadKeyed) \ 104 V(LoadKeyed) \
(...skipping 998 matching lines...) Expand 10 before | Expand all | Expand 10 after
1104 1103
1105 LOperand* value() { return inputs_[0]; } 1104 LOperand* value() { return inputs_[0]; }
1106 1105
1107 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndexAndBranch, 1106 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndexAndBranch,
1108 "has-cached-array-index-and-branch") 1107 "has-cached-array-index-and-branch")
1109 1108
1110 void PrintDataTo(StringStream* stream) override; 1109 void PrintDataTo(StringStream* stream) override;
1111 }; 1110 };
1112 1111
1113 1112
1114 class LIsConstructCallAndBranch final : public LControlInstruction<0, 1> {
1115 public:
1116 explicit LIsConstructCallAndBranch(LOperand* temp) {
1117 temps_[0] = temp;
1118 }
1119
1120 LOperand* temp() { return temps_[0]; }
1121
1122 DECLARE_CONCRETE_INSTRUCTION(IsConstructCallAndBranch,
1123 "is-construct-call-and-branch")
1124 };
1125
1126
1127 class LClassOfTestAndBranch final : public LControlInstruction<1, 2> { 1113 class LClassOfTestAndBranch final : public LControlInstruction<1, 2> {
1128 public: 1114 public:
1129 LClassOfTestAndBranch(LOperand* value, LOperand* temp, LOperand* temp2) { 1115 LClassOfTestAndBranch(LOperand* value, LOperand* temp, LOperand* temp2) {
1130 inputs_[0] = value; 1116 inputs_[0] = value;
1131 temps_[0] = temp; 1117 temps_[0] = temp;
1132 temps_[1] = temp2; 1118 temps_[1] = temp2;
1133 } 1119 }
1134 1120
1135 LOperand* value() { return inputs_[0]; } 1121 LOperand* value() { return inputs_[0]; }
1136 LOperand* temp() { return temps_[0]; } 1122 LOperand* temp() { return temps_[0]; }
(...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_IA32_LITHIUM_IA32_H_ 2803 #endif // V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/crankshaft/ia32/lithium-codegen-ia32.cc ('k') | src/crankshaft/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698