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

Side by Side Diff: src/ia32/stub-cache-ia32.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/ia32/ic-ia32.cc ('k') | src/ic.h » ('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 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1189 Register name = LoadIC::NameRegister(); 1189 Register name = LoadIC::NameRegister();
1190 static Register registers[] = { receiver, name, ebx, eax, edi, no_reg }; 1190 static Register registers[] = { receiver, name, ebx, eax, edi, no_reg };
1191 return registers; 1191 return registers;
1192 } 1192 }
1193 1193
1194 1194
1195 Register* PropertyAccessCompiler::store_calling_convention() { 1195 Register* PropertyAccessCompiler::store_calling_convention() {
1196 // receiver, name, scratch1, scratch2, scratch3. 1196 // receiver, name, scratch1, scratch2, scratch3.
1197 Register receiver = StoreIC::ReceiverRegister(); 1197 Register receiver = StoreIC::ReceiverRegister();
1198 Register name = StoreIC::NameRegister(); 1198 Register name = StoreIC::NameRegister();
1199 ASSERT(ebx.is(KeyedStoreIC::MapRegister()));
1199 static Register registers[] = { receiver, name, ebx, edi, no_reg }; 1200 static Register registers[] = { receiver, name, ebx, edi, no_reg };
1200 return registers; 1201 return registers;
1201 } 1202 }
1202 1203
1203 1204
1204 Register* PropertyAccessCompiler::keyed_store_calling_convention() {
1205 // receiver, name, scratch1/map, scratch2, scratch3.
1206 Register receiver = KeyedStoreIC::ReceiverRegister();
1207 Register name = KeyedStoreIC::NameRegister();
1208 Register map = KeyedStoreIC::MapRegister();
1209 static Register registers[] = { receiver, name, map, edi, no_reg };
1210 return registers;
1211 }
1212
1213
1214 Register NamedStoreHandlerCompiler::value() { return StoreIC::ValueRegister(); } 1205 Register NamedStoreHandlerCompiler::value() { return StoreIC::ValueRegister(); }
1215 1206
1216 1207
1217 #undef __ 1208 #undef __
1218 #define __ ACCESS_MASM(masm) 1209 #define __ ACCESS_MASM(masm)
1219 1210
1220 1211
1221 void NamedLoadHandlerCompiler::GenerateLoadViaGetter( 1212 void NamedLoadHandlerCompiler::GenerateLoadViaGetter(
1222 MacroAssembler* masm, Handle<HeapType> type, Register receiver, 1213 MacroAssembler* masm, Handle<HeapType> type, Register receiver,
1223 Handle<JSFunction> getter) { 1214 Handle<JSFunction> getter) {
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 // ----------------------------------- 1382 // -----------------------------------
1392 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); 1383 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss);
1393 } 1384 }
1394 1385
1395 1386
1396 #undef __ 1387 #undef __
1397 1388
1398 } } // namespace v8::internal 1389 } } // namespace v8::internal
1399 1390
1400 #endif // V8_TARGET_ARCH_IA32 1391 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698