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

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

Issue 429893006: MIPS: 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/mips64/ic-mips64.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_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
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 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 Register name = LoadIC::NameRegister(); 1150 Register name = LoadIC::NameRegister();
1151 static Register registers[] = { receiver, name, a3, a0, a4, a5 }; 1151 static Register registers[] = { receiver, name, a3, a0, a4, a5 };
1152 return registers; 1152 return registers;
1153 } 1153 }
1154 1154
1155 1155
1156 Register* PropertyAccessCompiler::store_calling_convention() { 1156 Register* PropertyAccessCompiler::store_calling_convention() {
1157 // receiver, name, scratch1, scratch2, scratch3. 1157 // receiver, name, scratch1, scratch2, scratch3.
1158 Register receiver = StoreIC::ReceiverRegister(); 1158 Register receiver = StoreIC::ReceiverRegister();
1159 Register name = StoreIC::NameRegister(); 1159 Register name = StoreIC::NameRegister();
1160 ASSERT(a3.is(KeyedStoreIC::MapRegister()));
1160 static Register registers[] = { receiver, name, a3, a4, a5 }; 1161 static Register registers[] = { receiver, name, a3, a4, a5 };
1161 return registers; 1162 return registers;
1162 } 1163 }
1163 1164
1164 1165
1165 Register* PropertyAccessCompiler::keyed_store_calling_convention() {
1166 // receiver, name, scratch1/map, scratch2, scratch3.
1167 Register receiver = KeyedStoreIC::ReceiverRegister();
1168 Register name = KeyedStoreIC::NameRegister();
1169 Register map = KeyedStoreIC::MapRegister();
1170 static Register registers[] = { receiver, name, map, a4, a5 };
1171 return registers;
1172 }
1173
1174
1175 Register NamedStoreHandlerCompiler::value() { return StoreIC::ValueRegister(); } 1166 Register NamedStoreHandlerCompiler::value() { return StoreIC::ValueRegister(); }
1176 1167
1177 1168
1178 #undef __ 1169 #undef __
1179 #define __ ACCESS_MASM(masm) 1170 #define __ ACCESS_MASM(masm)
1180 1171
1181 1172
1182 void NamedLoadHandlerCompiler::GenerateLoadViaGetter( 1173 void NamedLoadHandlerCompiler::GenerateLoadViaGetter(
1183 MacroAssembler* masm, Handle<HeapType> type, Register receiver, 1174 MacroAssembler* masm, Handle<HeapType> type, Register receiver,
1184 Handle<JSFunction> getter) { 1175 Handle<JSFunction> getter) {
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 1371
1381 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); 1372 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss);
1382 } 1373 }
1383 1374
1384 1375
1385 #undef __ 1376 #undef __
1386 1377
1387 } } // namespace v8::internal 1378 } } // namespace v8::internal
1388 1379
1389 #endif // V8_TARGET_ARCH_MIPS64 1380 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/ic-mips64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698