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

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

Issue 1132513007: PPC: Now that vector ics are established for load, keyed load and call ics, let's remove dead code … (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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/ppc/lithium-codegen-ppc.cc ('k') | src/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_PPC_LITHIUM_PPC_H_ 5 #ifndef V8_PPC_LITHIUM_PPC_H_
6 #define V8_PPC_LITHIUM_PPC_H_ 6 #define V8_PPC_LITHIUM_PPC_H_
7 7
8 #include "src/hydrogen.h" 8 #include "src/hydrogen.h"
9 #include "src/lithium.h" 9 #include "src/lithium.h"
10 #include "src/lithium-allocator.h" 10 #include "src/lithium-allocator.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 V(StoreKeyedGeneric) \ 147 V(StoreKeyedGeneric) \
148 V(StoreNamedField) \ 148 V(StoreNamedField) \
149 V(StoreNamedGeneric) \ 149 V(StoreNamedGeneric) \
150 V(StringAdd) \ 150 V(StringAdd) \
151 V(StringCharCodeAt) \ 151 V(StringCharCodeAt) \
152 V(StringCharFromCode) \ 152 V(StringCharFromCode) \
153 V(StringCompareAndBranch) \ 153 V(StringCompareAndBranch) \
154 V(SubI) \ 154 V(SubI) \
155 V(RSubI) \ 155 V(RSubI) \
156 V(TaggedToI) \ 156 V(TaggedToI) \
157 V(TailCallThroughMegamorphicCache) \
158 V(ThisFunction) \ 157 V(ThisFunction) \
159 V(ToFastProperties) \ 158 V(ToFastProperties) \
160 V(TransitionElementsKind) \ 159 V(TransitionElementsKind) \
161 V(TrapAllocationMemento) \ 160 V(TrapAllocationMemento) \
162 V(Typeof) \ 161 V(Typeof) \
163 V(TypeofIsAndBranch) \ 162 V(TypeofIsAndBranch) \
164 V(Uint32ToDouble) \ 163 V(Uint32ToDouble) \
165 V(UnknownOSRValue) \ 164 V(UnknownOSRValue) \
166 V(WrapReceiver) 165 V(WrapReceiver)
167 166
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 public: 457 public:
459 explicit LCallStub(LOperand* context) { inputs_[0] = context; } 458 explicit LCallStub(LOperand* context) { inputs_[0] = context; }
460 459
461 LOperand* context() { return inputs_[0]; } 460 LOperand* context() { return inputs_[0]; }
462 461
463 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") 462 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
464 DECLARE_HYDROGEN_ACCESSOR(CallStub) 463 DECLARE_HYDROGEN_ACCESSOR(CallStub)
465 }; 464 };
466 465
467 466
468 class LTailCallThroughMegamorphicCache final
469 : public LTemplateInstruction<0, 3, 0> {
470 public:
471 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver,
472 LOperand* name) {
473 inputs_[0] = context;
474 inputs_[1] = receiver;
475 inputs_[2] = name;
476 }
477
478 LOperand* context() { return inputs_[0]; }
479 LOperand* receiver() { return inputs_[1]; }
480 LOperand* name() { return inputs_[2]; }
481
482 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache,
483 "tail-call-through-megamorphic-cache")
484 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache)
485 };
486
487
488 class LUnknownOSRValue final : public LTemplateInstruction<1, 0, 0> { 467 class LUnknownOSRValue final : public LTemplateInstruction<1, 0, 0> {
489 public: 468 public:
490 bool HasInterestingComment(LCodeGen* gen) const override { return false; } 469 bool HasInterestingComment(LCodeGen* gen) const override { return false; }
491 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") 470 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value")
492 }; 471 };
493 472
494 473
495 template <int I, int T> 474 template <int I, int T>
496 class LControlInstruction : public LTemplateInstruction<0, I, T> { 475 class LControlInstruction : public LTemplateInstruction<0, I, T> {
497 public: 476 public:
(...skipping 2270 matching lines...) Expand 10 before | Expand all | Expand 10 after
2768 2747
2769 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2748 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2770 }; 2749 };
2771 2750
2772 #undef DECLARE_HYDROGEN_ACCESSOR 2751 #undef DECLARE_HYDROGEN_ACCESSOR
2773 #undef DECLARE_CONCRETE_INSTRUCTION 2752 #undef DECLARE_CONCRETE_INSTRUCTION
2774 } 2753 }
2775 } // namespace v8::internal 2754 } // namespace v8::internal
2776 2755
2777 #endif // V8_PPC_LITHIUM_PPC_H_ 2756 #endif // V8_PPC_LITHIUM_PPC_H_
OLDNEW
« no previous file with comments | « src/ppc/lithium-codegen-ppc.cc ('k') | src/ppc/lithium-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698