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

Side by Side Diff: src/arm/stub-cache-arm.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/arm/ic-arm.cc ('k') | src/arm64/ic-arm64.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_ARM 7 #if V8_TARGET_ARCH_ARM
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 1149 matching lines...) Expand 10 before | Expand all | Expand 10 after
1160 Register name = LoadIC::NameRegister(); 1160 Register name = LoadIC::NameRegister();
1161 static Register registers[] = { receiver, name, r3, r0, r4, r5 }; 1161 static Register registers[] = { receiver, name, r3, r0, r4, r5 };
1162 return registers; 1162 return registers;
1163 } 1163 }
1164 1164
1165 1165
1166 Register* PropertyAccessCompiler::store_calling_convention() { 1166 Register* PropertyAccessCompiler::store_calling_convention() {
1167 // receiver, name, scratch1, scratch2, scratch3. 1167 // receiver, name, scratch1, scratch2, scratch3.
1168 Register receiver = StoreIC::ReceiverRegister(); 1168 Register receiver = StoreIC::ReceiverRegister();
1169 Register name = StoreIC::NameRegister(); 1169 Register name = StoreIC::NameRegister();
1170 ASSERT(r3.is(KeyedStoreIC::MapRegister()));
1170 static Register registers[] = { receiver, name, r3, r4, r5 }; 1171 static Register registers[] = { receiver, name, r3, r4, r5 };
1171 return registers; 1172 return registers;
1172 } 1173 }
1173 1174
1174 1175
1175 Register* PropertyAccessCompiler::keyed_store_calling_convention() {
1176 // receiver, name, scratch1/map, scratch2, scratch3.
1177 Register receiver = KeyedStoreIC::ReceiverRegister();
1178 Register name = KeyedStoreIC::NameRegister();
1179 Register map = KeyedStoreIC::MapRegister();
1180 static Register registers[] = { receiver, name, map, r4, r5 };
1181 return registers;
1182 }
1183
1184
1185 Register NamedStoreHandlerCompiler::value() { return StoreIC::ValueRegister(); } 1176 Register NamedStoreHandlerCompiler::value() { return StoreIC::ValueRegister(); }
1186 1177
1187 1178
1188 #undef __ 1179 #undef __
1189 #define __ ACCESS_MASM(masm) 1180 #define __ ACCESS_MASM(masm)
1190 1181
1191 1182
1192 void NamedLoadHandlerCompiler::GenerateLoadViaGetter( 1183 void NamedLoadHandlerCompiler::GenerateLoadViaGetter(
1193 MacroAssembler* masm, Handle<HeapType> type, Register receiver, 1184 MacroAssembler* masm, Handle<HeapType> type, Register receiver,
1194 Handle<JSFunction> getter) { 1185 Handle<JSFunction> getter) {
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 1377
1387 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); 1378 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss);
1388 } 1379 }
1389 1380
1390 1381
1391 #undef __ 1382 #undef __
1392 1383
1393 } } // namespace v8::internal 1384 } } // namespace v8::internal
1394 1385
1395 #endif // V8_TARGET_ARCH_ARM 1386 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm64/ic-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698