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

Side by Side Diff: src/x64/stub-cache-x64.cc

Issue 424423002: Remove keyed_store_calling convention and friends (Closed) Base URL: https://v8.googlecode.com/svn/branches/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 | Annotate | Revision Log
« no previous file with comments | « src/x64/ic-x64.cc ('k') | no next file » | 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_X64 7 #if V8_TARGET_ARCH_X64
8 8
9 #include "src/arguments.h" 9 #include "src/arguments.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1119 Register name = LoadIC::NameRegister(); 1119 Register name = LoadIC::NameRegister();
1120 static Register registers[] = { receiver, name, rax, rbx, rdi, r8 }; 1120 static Register registers[] = { receiver, name, rax, rbx, rdi, r8 };
1121 return registers; 1121 return registers;
1122 } 1122 }
1123 1123
1124 1124
1125 Register* PropertyAccessCompiler::store_calling_convention() { 1125 Register* PropertyAccessCompiler::store_calling_convention() {
1126 // receiver, name, scratch1, scratch2, scratch3. 1126 // receiver, name, scratch1, scratch2, scratch3.
1127 Register receiver = KeyedStoreIC::ReceiverRegister(); 1127 Register receiver = KeyedStoreIC::ReceiverRegister();
1128 Register name = KeyedStoreIC::NameRegister(); 1128 Register name = KeyedStoreIC::NameRegister();
1129 ASSERT(rbx.is(KeyedStoreIC::MapRegister()));
1129 static Register registers[] = { receiver, name, rbx, rdi, r8 }; 1130 static Register registers[] = { receiver, name, rbx, rdi, r8 };
1130 return registers; 1131 return registers;
1131 } 1132 }
1132 1133
1133 1134
1134 Register* PropertyAccessCompiler::keyed_store_calling_convention() {
1135 // receiver, name, scratch1/map, scratch2, scratch3.
1136 Register receiver = KeyedStoreIC::ReceiverRegister();
1137 Register name = KeyedStoreIC::NameRegister();
1138 Register map = KeyedStoreIC::MapRegister();
1139 static Register registers[] = { receiver, name, map, rdi, r8 };
1140 return registers;
1141 }
1142
1143
1144 Register NamedStoreHandlerCompiler::value() { return StoreIC::ValueRegister(); } 1135 Register NamedStoreHandlerCompiler::value() { return StoreIC::ValueRegister(); }
1145 1136
1146 1137
1147 #undef __ 1138 #undef __
1148 #define __ ACCESS_MASM(masm) 1139 #define __ ACCESS_MASM(masm)
1149 1140
1150 1141
1151 void NamedLoadHandlerCompiler::GenerateLoadViaGetter( 1142 void NamedLoadHandlerCompiler::GenerateLoadViaGetter(
1152 MacroAssembler* masm, Handle<HeapType> type, Register receiver, 1143 MacroAssembler* masm, Handle<HeapType> type, Register receiver,
1153 Handle<JSFunction> getter) { 1144 Handle<JSFunction> getter) {
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
1320 // ----------------------------------- 1311 // -----------------------------------
1321 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); 1312 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss);
1322 } 1313 }
1323 1314
1324 1315
1325 #undef __ 1316 #undef __
1326 1317
1327 } } // namespace v8::internal 1318 } } // namespace v8::internal
1328 1319
1329 #endif // V8_TARGET_ARCH_X64 1320 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/ic-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698