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

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

Issue 385073007: Revert "Use the same registers for StoreIC and KeyedStoreIC." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
224 void BinaryOpICStub::InitializeInterfaceDescriptor( 232 void BinaryOpICStub::InitializeInterfaceDescriptor(
225 CodeStubInterfaceDescriptor* descriptor) { 233 CodeStubInterfaceDescriptor* descriptor) {
226 Register registers[] = { r1, r0 }; 234 Register registers[] = { r1, r0 };
227 descriptor->Initialize(ARRAY_SIZE(registers), registers, 235 descriptor->Initialize(ARRAY_SIZE(registers), registers,
228 FUNCTION_ADDR(BinaryOpIC_Miss)); 236 FUNCTION_ADDR(BinaryOpIC_Miss));
229 descriptor->SetMissHandler( 237 descriptor->SetMissHandler(
230 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); 238 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate()));
231 } 239 }
232 240
233 241
(...skipping 4821 matching lines...) Expand 10 before | Expand all | Expand 10 after
5055 MemOperand(fp, 6 * kPointerSize), 5063 MemOperand(fp, 6 * kPointerSize),
5056 NULL); 5064 NULL);
5057 } 5065 }
5058 5066
5059 5067
5060 #undef __ 5068 #undef __
5061 5069
5062 } } // namespace v8::internal 5070 } } // namespace v8::internal
5063 5071
5064 #endif // V8_TARGET_ARCH_ARM 5072 #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