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

Side by Side Diff: src/ic.h

Issue 398053002: Introduce FLAG_vector_ics. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE. Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/x64/builtins-x64.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_IC_H_ 5 #ifndef V8_IC_H_
6 #define V8_IC_H_ 6 #define V8_IC_H_
7 7
8 #include "src/macro-assembler.h" 8 #include "src/macro-assembler.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 STATIC_ASSERT(static_cast<int>(NOT_CONTEXTUAL) == 0); 385 STATIC_ASSERT(static_cast<int>(NOT_CONTEXTUAL) == 0);
386 386
387 enum ParameterIndices { 387 enum ParameterIndices {
388 kReceiverIndex, 388 kReceiverIndex,
389 kNameIndex, 389 kNameIndex,
390 kParameterCount 390 kParameterCount
391 }; 391 };
392 static const Register ReceiverRegister(); 392 static const Register ReceiverRegister();
393 static const Register NameRegister(); 393 static const Register NameRegister();
394 394
395 // With flag vector-ics, there is an additional argument. And for calls from
396 // crankshaft, yet another.
397 static const Register SlotRegister();
398 static const Register VectorRegister();
399
395 static ExtraICState ComputeExtraICState(ContextualMode contextual_mode) { 400 static ExtraICState ComputeExtraICState(ContextualMode contextual_mode) {
396 return ContextualModeBits::encode(contextual_mode); 401 return ContextualModeBits::encode(contextual_mode);
397 } 402 }
398 403
399 static ContextualMode GetContextualMode(ExtraICState state) { 404 static ContextualMode GetContextualMode(ExtraICState state) {
400 return ContextualModeBits::decode(state); 405 return ContextualModeBits::decode(state);
401 } 406 }
402 407
403 ContextualMode contextual_mode() const { 408 ContextualMode contextual_mode() const {
404 return ContextualModeBits::decode(extra_ic_state()); 409 return ContextualModeBits::decode(extra_ic_state());
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
1030 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); 1035 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss);
1031 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); 1036 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss);
1032 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); 1037 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite);
1033 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); 1038 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss);
1034 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); 1039 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss);
1035 1040
1036 1041
1037 } } // namespace v8::internal 1042 } } // namespace v8::internal
1038 1043
1039 #endif // V8_IC_H_ 1044 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698