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

Side by Side Diff: src/crankshaft/mips/lithium-mips.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/mips/lithium-codegen-mips.cc ('k') | src/crankshaft/mips/lithium-mips.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_MIPS_LITHIUM_MIPS_H_ 5 #ifndef V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_
6 #define V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ 6 #define V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 V(StoreKeyedGeneric) \ 135 V(StoreKeyedGeneric) \
136 V(StoreNamedField) \ 136 V(StoreNamedField) \
137 V(StoreNamedGeneric) \ 137 V(StoreNamedGeneric) \
138 V(StringAdd) \ 138 V(StringAdd) \
139 V(StringCharCodeAt) \ 139 V(StringCharCodeAt) \
140 V(StringCharFromCode) \ 140 V(StringCharFromCode) \
141 V(StringCompareAndBranch) \ 141 V(StringCompareAndBranch) \
142 V(SubI) \ 142 V(SubI) \
143 V(TaggedToI) \ 143 V(TaggedToI) \
144 V(ThisFunction) \ 144 V(ThisFunction) \
145 V(ToFastProperties) \
146 V(TransitionElementsKind) \ 145 V(TransitionElementsKind) \
147 V(TrapAllocationMemento) \ 146 V(TrapAllocationMemento) \
148 V(Typeof) \ 147 V(Typeof) \
149 V(TypeofIsAndBranch) \ 148 V(TypeofIsAndBranch) \
150 V(Uint32ToDouble) \ 149 V(Uint32ToDouble) \
151 V(UnknownOSRValue) \ 150 V(UnknownOSRValue) \
152 V(WrapReceiver) 151 V(WrapReceiver)
153 152
154 #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \ 153 #define DECLARE_CONCRETE_INSTRUCTION(type, mnemonic) \
155 Opcode opcode() const final { return LInstruction::k##type; } \ 154 Opcode opcode() const final { return LInstruction::k##type; } \
(...skipping 2181 matching lines...) Expand 10 before | Expand all | Expand 10 after
2337 LOperand* context() { return inputs_[0]; } 2336 LOperand* context() { return inputs_[0]; }
2338 LOperand* size() { return inputs_[1]; } 2337 LOperand* size() { return inputs_[1]; }
2339 LOperand* temp1() { return temps_[0]; } 2338 LOperand* temp1() { return temps_[0]; }
2340 LOperand* temp2() { return temps_[1]; } 2339 LOperand* temp2() { return temps_[1]; }
2341 2340
2342 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") 2341 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate")
2343 DECLARE_HYDROGEN_ACCESSOR(Allocate) 2342 DECLARE_HYDROGEN_ACCESSOR(Allocate)
2344 }; 2343 };
2345 2344
2346 2345
2347 class LToFastProperties final : public LTemplateInstruction<1, 1, 0> {
2348 public:
2349 explicit LToFastProperties(LOperand* value) {
2350 inputs_[0] = value;
2351 }
2352
2353 LOperand* value() { return inputs_[0]; }
2354
2355 DECLARE_CONCRETE_INSTRUCTION(ToFastProperties, "to-fast-properties")
2356 DECLARE_HYDROGEN_ACCESSOR(ToFastProperties)
2357 };
2358
2359
2360 class LTypeof final : public LTemplateInstruction<1, 2, 0> { 2346 class LTypeof final : public LTemplateInstruction<1, 2, 0> {
2361 public: 2347 public:
2362 LTypeof(LOperand* context, LOperand* value) { 2348 LTypeof(LOperand* context, LOperand* value) {
2363 inputs_[0] = context; 2349 inputs_[0] = context;
2364 inputs_[1] = value; 2350 inputs_[1] = value;
2365 } 2351 }
2366 2352
2367 LOperand* context() { return inputs_[0]; } 2353 LOperand* context() { return inputs_[0]; }
2368 LOperand* value() { return inputs_[1]; } 2354 LOperand* value() { return inputs_[1]; }
2369 2355
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
2630 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2616 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2631 }; 2617 };
2632 2618
2633 #undef DECLARE_HYDROGEN_ACCESSOR 2619 #undef DECLARE_HYDROGEN_ACCESSOR
2634 #undef DECLARE_CONCRETE_INSTRUCTION 2620 #undef DECLARE_CONCRETE_INSTRUCTION
2635 2621
2636 } // namespace internal 2622 } // namespace internal
2637 } // namespace v8 2623 } // namespace v8
2638 2624
2639 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ 2625 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/crankshaft/mips/lithium-codegen-mips.cc ('k') | src/crankshaft/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698