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

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

Issue 1129853002: Removing FLAG_vector_ics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Comment response. 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/ia32/lithium-codegen-ia32.cc ('k') | src/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_IA32_LITHIUM_IA32_H_ 5 #ifndef V8_IA32_LITHIUM_IA32_H_
6 #define V8_IA32_LITHIUM_IA32_H_ 6 #define V8_IA32_LITHIUM_IA32_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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 V(StoreKeyed) \ 148 V(StoreKeyed) \
149 V(StoreKeyedGeneric) \ 149 V(StoreKeyedGeneric) \
150 V(StoreNamedField) \ 150 V(StoreNamedField) \
151 V(StoreNamedGeneric) \ 151 V(StoreNamedGeneric) \
152 V(StringAdd) \ 152 V(StringAdd) \
153 V(StringCharCodeAt) \ 153 V(StringCharCodeAt) \
154 V(StringCharFromCode) \ 154 V(StringCharFromCode) \
155 V(StringCompareAndBranch) \ 155 V(StringCompareAndBranch) \
156 V(SubI) \ 156 V(SubI) \
157 V(TaggedToI) \ 157 V(TaggedToI) \
158 V(TailCallThroughMegamorphicCache) \
159 V(ThisFunction) \ 158 V(ThisFunction) \
160 V(ToFastProperties) \ 159 V(ToFastProperties) \
161 V(TransitionElementsKind) \ 160 V(TransitionElementsKind) \
162 V(TrapAllocationMemento) \ 161 V(TrapAllocationMemento) \
163 V(Typeof) \ 162 V(Typeof) \
164 V(TypeofIsAndBranch) \ 163 V(TypeofIsAndBranch) \
165 V(Uint32ToDouble) \ 164 V(Uint32ToDouble) \
166 V(UnknownOSRValue) \ 165 V(UnknownOSRValue) \
167 V(WrapReceiver) 166 V(WrapReceiver)
168 167
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 inputs_[0] = context; 462 inputs_[0] = context;
464 } 463 }
465 464
466 LOperand* context() { return inputs_[0]; } 465 LOperand* context() { return inputs_[0]; }
467 466
468 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") 467 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub")
469 DECLARE_HYDROGEN_ACCESSOR(CallStub) 468 DECLARE_HYDROGEN_ACCESSOR(CallStub)
470 }; 469 };
471 470
472 471
473 class LTailCallThroughMegamorphicCache final
474 : public LTemplateInstruction<0, 3, 0> {
475 public:
476 LTailCallThroughMegamorphicCache(LOperand* context, LOperand* receiver,
477 LOperand* name) {
478 inputs_[0] = context;
479 inputs_[1] = receiver;
480 inputs_[2] = name;
481 }
482
483 LOperand* context() { return inputs_[0]; }
484 LOperand* receiver() { return inputs_[1]; }
485 LOperand* name() { return inputs_[2]; }
486
487 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache,
488 "tail-call-through-megamorphic-cache")
489 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache)
490 };
491
492
493 class LUnknownOSRValue final : public LTemplateInstruction<1, 0, 0> { 472 class LUnknownOSRValue final : public LTemplateInstruction<1, 0, 0> {
494 public: 473 public:
495 bool HasInterestingComment(LCodeGen* gen) const override { return false; } 474 bool HasInterestingComment(LCodeGen* gen) const override { return false; }
496 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") 475 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value")
497 }; 476 };
498 477
499 478
500 template<int I, int T> 479 template<int I, int T>
501 class LControlInstruction: public LTemplateInstruction<0, I, T> { 480 class LControlInstruction: public LTemplateInstruction<0, I, T> {
502 public: 481 public:
(...skipping 2393 matching lines...) Expand 10 before | Expand all | Expand 10 after
2896 2875
2897 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2876 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2898 }; 2877 };
2899 2878
2900 #undef DECLARE_HYDROGEN_ACCESSOR 2879 #undef DECLARE_HYDROGEN_ACCESSOR
2901 #undef DECLARE_CONCRETE_INSTRUCTION 2880 #undef DECLARE_CONCRETE_INSTRUCTION
2902 2881
2903 } } // namespace v8::internal 2882 } } // namespace v8::internal
2904 2883
2905 #endif // V8_IA32_LITHIUM_IA32_H_ 2884 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698