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

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

Issue 431263003: X87: Remove keyed_store_calling convention and friends (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Patch Set: Created 6 years, 4 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 | « no previous file | src/x87/stub-cache-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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_X87 7 #if V8_TARGET_ARCH_X87
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 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 ASSERT(FLAG_vector_ics); 983 ASSERT(FLAG_vector_ics);
984 return ebx; 984 return ebx;
985 } 985 }
986 986
987 987
988 const Register StoreIC::ReceiverRegister() { return edx; } 988 const Register StoreIC::ReceiverRegister() { return edx; }
989 const Register StoreIC::NameRegister() { return ecx; } 989 const Register StoreIC::NameRegister() { return ecx; }
990 const Register StoreIC::ValueRegister() { return eax; } 990 const Register StoreIC::ValueRegister() { return eax; }
991 991
992 992
993 const Register KeyedStoreIC::ReceiverRegister() {
994 return StoreIC::ReceiverRegister();
995 }
996
997
998 const Register KeyedStoreIC::NameRegister() {
999 return StoreIC::NameRegister();
1000 }
1001
1002
1003 const Register KeyedStoreIC::ValueRegister() {
1004 return StoreIC::ValueRegister();
1005 }
1006
1007
1008 const Register KeyedStoreIC::MapRegister() { 993 const Register KeyedStoreIC::MapRegister() {
1009 return ebx; 994 return ebx;
1010 } 995 }
1011 996
1012 997
1013 void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { 998 void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) {
1014 // Return address is on the stack. 999 // Return address is on the stack.
1015 LoadIC_PushArgs(masm); 1000 LoadIC_PushArgs(masm);
1016 1001
1017 // Perform tail call to the entry. 1002 // Perform tail call to the entry.
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
1217 Condition cc = (check == ENABLE_INLINED_SMI_CHECK) 1202 Condition cc = (check == ENABLE_INLINED_SMI_CHECK)
1218 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) 1203 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero)
1219 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); 1204 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry);
1220 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); 1205 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc);
1221 } 1206 }
1222 1207
1223 1208
1224 } } // namespace v8::internal 1209 } } // namespace v8::internal
1225 1210
1226 #endif // V8_TARGET_ARCH_X87 1211 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « no previous file | src/x87/stub-cache-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698