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

Side by Side Diff: src/arm/code-stubs-arm.cc

Issue 385553004: Use the same registers for StoreIC and KeyedStoreIC. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Patch One. Created 6 years, 5 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 | « no previous file | src/arm/ic-arm.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/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 InitializeInternalArrayConstructorDescriptor(descriptor, 1); 214 InitializeInternalArrayConstructorDescriptor(descriptor, 1);
215 } 215 }
216 216
217 217
218 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( 218 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor(
219 CodeStubInterfaceDescriptor* descriptor) { 219 CodeStubInterfaceDescriptor* descriptor) {
220 InitializeInternalArrayConstructorDescriptor(descriptor, -1); 220 InitializeInternalArrayConstructorDescriptor(descriptor, -1);
221 } 221 }
222 222
223 223
224 void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor(
225 CodeStubInterfaceDescriptor* descriptor) {
226 Register registers[] = { r0, r3, r1, r2 };
227 descriptor->Initialize(ARRAY_SIZE(registers), registers,
228 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss));
229 }
230
231
232 void BinaryOpICStub::InitializeInterfaceDescriptor( 224 void BinaryOpICStub::InitializeInterfaceDescriptor(
233 CodeStubInterfaceDescriptor* descriptor) { 225 CodeStubInterfaceDescriptor* descriptor) {
234 Register registers[] = { r1, r0 }; 226 Register registers[] = { r1, r0 };
235 descriptor->Initialize(ARRAY_SIZE(registers), registers, 227 descriptor->Initialize(ARRAY_SIZE(registers), registers,
236 FUNCTION_ADDR(BinaryOpIC_Miss)); 228 FUNCTION_ADDR(BinaryOpIC_Miss));
237 descriptor->SetMissHandler( 229 descriptor->SetMissHandler(
238 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); 230 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate()));
239 } 231 }
240 232
241 233
(...skipping 4821 matching lines...) Expand 10 before | Expand all | Expand 10 after
5063 MemOperand(fp, 6 * kPointerSize), 5055 MemOperand(fp, 6 * kPointerSize),
5064 NULL); 5056 NULL);
5065 } 5057 }
5066 5058
5067 5059
5068 #undef __ 5060 #undef __
5069 5061
5070 } } // namespace v8::internal 5062 } } // namespace v8::internal
5071 5063
5072 #endif // V8_TARGET_ARCH_ARM 5064 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/ic-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698