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

Side by Side Diff: src/ia32/ic-ia32.cc

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/full-codegen-ia32.cc ('k') | src/ia32/lithium-codegen-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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_IA32 7 #if V8_TARGET_ARCH_IA32
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/ic-inl.h" 10 #include "src/ic-inl.h"
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after
967 ExternalReference(IC_Utility(kKeyedLoadIC_Miss), masm->isolate()); 967 ExternalReference(IC_Utility(kKeyedLoadIC_Miss), masm->isolate());
968 __ TailCallExternalReference(ref, 2, 1); 968 __ TailCallExternalReference(ref, 2, 1);
969 } 969 }
970 970
971 971
972 // IC register specifications 972 // IC register specifications
973 const Register LoadIC::ReceiverRegister() { return edx; } 973 const Register LoadIC::ReceiverRegister() { return edx; }
974 const Register LoadIC::NameRegister() { return ecx; } 974 const Register LoadIC::NameRegister() { return ecx; }
975 975
976 976
977 const Register LoadIC::SlotRegister() {
978 ASSERT(FLAG_vector_ics);
979 return eax;
980 }
981
982
983 const Register LoadIC::VectorRegister() {
984 ASSERT(FLAG_vector_ics);
985 return ebx;
986 }
987
988
977 const Register StoreIC::ReceiverRegister() { return edx; } 989 const Register StoreIC::ReceiverRegister() { return edx; }
978 const Register StoreIC::NameRegister() { return ecx; } 990 const Register StoreIC::NameRegister() { return ecx; }
979 const Register StoreIC::ValueRegister() { return eax; } 991 const Register StoreIC::ValueRegister() { return eax; }
980 992
981 993
982 const Register KeyedStoreIC::ReceiverRegister() { 994 const Register KeyedStoreIC::ReceiverRegister() {
983 return StoreIC::ReceiverRegister(); 995 return StoreIC::ReceiverRegister();
984 } 996 }
985 997
986 998
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 Condition cc = (check == ENABLE_INLINED_SMI_CHECK) 1218 Condition cc = (check == ENABLE_INLINED_SMI_CHECK)
1207 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) 1219 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero)
1208 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); 1220 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry);
1209 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); 1221 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc);
1210 } 1222 }
1211 1223
1212 1224
1213 } } // namespace v8::internal 1225 } } // namespace v8::internal
1214 1226
1215 #endif // V8_TARGET_ARCH_IA32 1227 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698