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

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

Issue 1772423002: Don't do any special normalization if a boilerplate contains function literals. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: mark osr-one/osr-two as skip on ignition/arm Created 4 years, 9 months 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/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/ppc/lithium-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC_LITHIUM_PPC_H_ 5 #ifndef V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_
6 #define V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ 6 #define V8_CRANKSHAFT_PPC_LITHIUM_PPC_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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 V(StoreNamedField) \ 137 V(StoreNamedField) \
138 V(StoreNamedGeneric) \ 138 V(StoreNamedGeneric) \
139 V(StringAdd) \ 139 V(StringAdd) \
140 V(StringCharCodeAt) \ 140 V(StringCharCodeAt) \
141 V(StringCharFromCode) \ 141 V(StringCharFromCode) \
142 V(StringCompareAndBranch) \ 142 V(StringCompareAndBranch) \
143 V(SubI) \ 143 V(SubI) \
144 V(RSubI) \ 144 V(RSubI) \
145 V(TaggedToI) \ 145 V(TaggedToI) \
146 V(ThisFunction) \ 146 V(ThisFunction) \
147 V(ToFastProperties) \
148 V(TransitionElementsKind) \ 147 V(TransitionElementsKind) \
149 V(TrapAllocationMemento) \ 148 V(TrapAllocationMemento) \
150 V(Typeof) \ 149 V(Typeof) \
151 V(TypeofIsAndBranch) \ 150 V(TypeofIsAndBranch) \
152 V(Uint32ToDouble) \ 151 V(Uint32ToDouble) \
153 V(UnknownOSRValue) \ 152 V(UnknownOSRValue) \
154 V(WrapReceiver) 153 V(WrapReceiver)
155 154
156 155
157 #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \ 156 #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \
(...skipping 2122 matching lines...) Expand 10 before | Expand all | Expand 10 after
2280 LOperand* context() { return inputs_[0]; } 2279 LOperand* context() { return inputs_[0]; }
2281 LOperand* size() { return inputs_[1]; } 2280 LOperand* size() { return inputs_[1]; }
2282 LOperand* temp1() { return temps_[0]; } 2281 LOperand* temp1() { return temps_[0]; }
2283 LOperand* temp2() { return temps_[1]; } 2282 LOperand* temp2() { return temps_[1]; }
2284 2283
2285 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") 2284 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate")
2286 DECLARE_HYDROGEN_ACCESSOR(Allocate) 2285 DECLARE_HYDROGEN_ACCESSOR(Allocate)
2287 }; 2286 };
2288 2287
2289 2288
2290 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> {
2291 public:
2292 explicit LToFastProperties(LOperand* value) { inputs_[0] = value; }
2293
2294 LOperand* value() { return inputs_[0]; }
2295
2296 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties")
2297 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties)
2298 };
2299
2300
2301 class LTypeof final : public LTemplateInstruction<1, 2, 0> { 2289 class LTypeof final : public LTemplateInstruction<1, 2, 0> {
2302 public: 2290 public:
2303 LTypeof(LOperand* context, LOperand* value) { 2291 LTypeof(LOperand* context, LOperand* value) {
2304 inputs_[0] = context; 2292 inputs_[0] = context;
2305 inputs_[1] = value; 2293 inputs_[1] = value;
2306 } 2294 }
2307 2295
2308 LOperand* context() { return inputs_[0]; } 2296 LOperand* context() { return inputs_[0]; }
2309 LOperand* value() { return inputs_[1]; } 2297 LOperand* value() { return inputs_[1]; }
2310 2298
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
2557 2545
2558 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2546 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2559 }; 2547 };
2560 2548
2561 #undef DECLARE_HYDROGEN_ACCESSOR 2549 #undef DECLARE_HYDROGEN_ACCESSOR
2562 #undef DECLARE_CONCRETE_INSTRUCTION 2550 #undef DECLARE_CONCRETE_INSTRUCTION
2563 } // namespace internal 2551 } // namespace internal
2564 } // namespace v8 2552 } // namespace v8
2565 2553
2566 #endif // V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ 2554 #endif // V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/ppc/lithium-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698