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

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

Powered by Google App Engine
This is Rietveld 408576698