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

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

Issue 1142713007: X87: 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/x87/lithium-codegen-x87.cc ('k') | src/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_X87_LITHIUM_X87_H_ 5 #ifndef V8_X87_LITHIUM_X87_H_
6 #define V8_X87_LITHIUM_X87_H_ 6 #define V8_X87_LITHIUM_X87_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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 V(StoreKeyed) \ 149 V(StoreKeyed) \
150 V(StoreKeyedGeneric) \ 150 V(StoreKeyedGeneric) \
151 V(StoreNamedField) \ 151 V(StoreNamedField) \
152 V(StoreNamedGeneric) \ 152 V(StoreNamedGeneric) \
153 V(StringAdd) \ 153 V(StringAdd) \
154 V(StringCharCodeAt) \ 154 V(StringCharCodeAt) \
155 V(StringCharFromCode) \ 155 V(StringCharFromCode) \
156 V(StringCompareAndBranch) \ 156 V(StringCompareAndBranch) \
157 V(SubI) \ 157 V(SubI) \
158 V(TaggedToI) \ 158 V(TaggedToI) \
159 V(TailCallThroughMegamorphicCache) \
160 V(ThisFunction) \ 159 V(ThisFunction) \
161 V(ToFastProperties) \ 160 V(ToFastProperties) \
162 V(TransitionElementsKind) \ 161 V(TransitionElementsKind) \
163 V(TrapAllocationMemento) \ 162 V(TrapAllocationMemento) \
164 V(Typeof) \ 163 V(Typeof) \
165 V(TypeofIsAndBranch) \ 164 V(TypeofIsAndBranch) \
166 V(Uint32ToDouble) \ 165 V(Uint32ToDouble) \
167 V(UnknownOSRValue) \ 166 V(UnknownOSRValue) \
168 V(WrapReceiver) 167 V(WrapReceiver)
169 168
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 inputs_[0] = context; 478 inputs_[0] = context;
480 } 479 }
481 480
482 LOperand* context() { return inputs_[0]; } 481 LOperand* context() { return inputs_[0]; }
483 482
484 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") 483 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
485 DECLARE_HYDROGEN_ACCESSOR(CallStub) 484 DECLARE_HYDROGEN_ACCESSOR(CallStub)
486 }; 485 };
487 486
488 487
489 class LTailCallThroughMegamorphicCache final
490 : public LTemplateInstruction<0, 3, 0> {
491 public:
492 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver,
493 LOperand* name) {
494 inputs_[0] = context;
495 inputs_[1] = receiver;
496 inputs_[2] = name;
497 }
498
499 LOperand* context() { return inputs_[0]; }
500 LOperand* receiver() { return inputs_[1]; }
501 LOperand* name() { return inputs_[2]; }
502
503 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache,
504 "tail-call-through-megamorphic-cache")
505 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache)
506 };
507
508
509 class LUnknownOSRValue final : public LTemplateInstruction<1, 0, 0> { 488 class LUnknownOSRValue final : public LTemplateInstruction<1, 0, 0> {
510 public: 489 public:
511 bool HasInterestingComment(LCodeGen* gen) const override { return false; } 490 bool HasInterestingComment(LCodeGen* gen) const override { return false; }
512 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") 491 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value")
513 }; 492 };
514 493
515 494
516 template<int I, int T> 495 template<int I, int T>
517 class LControlInstruction: public LTemplateInstruction<0, I, T> { 496 class LControlInstruction: public LTemplateInstruction<0, I, T> {
518 public: 497 public:
(...skipping 2389 matching lines...) Expand 10 before | Expand all | Expand 10 after
2908 2887
2909 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2888 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2910 }; 2889 };
2911 2890
2912 #undef DECLARE_HYDROGEN_ACCESSOR 2891 #undef DECLARE_HYDROGEN_ACCESSOR
2913 #undef DECLARE_CONCRETE_INSTRUCTION 2892 #undef DECLARE_CONCRETE_INSTRUCTION
2914 2893
2915 } } // namespace v8::internal 2894 } } // namespace v8::internal
2916 2895
2917 #endif // V8_X87_LITHIUM_X87_H_ 2896 #endif // V8_X87_LITHIUM_X87_H_
OLDNEW
« no previous file with comments | « src/x87/lithium-codegen-x87.cc ('k') | src/x87/lithium-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698