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

Side by Side Diff: src/arm64/code-stubs-arm64.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 | « src/arm/stub-cache-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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64 7 #if V8_TARGET_ARCH_ARM64
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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 CodeStubInterfaceDescriptor* descriptor) { 231 CodeStubInterfaceDescriptor* descriptor) {
232 // x0: value 232 // x0: value
233 Register registers[] = { x0 }; 233 Register registers[] = { x0 };
234 descriptor->Initialize(ARRAY_SIZE(registers), registers, 234 descriptor->Initialize(ARRAY_SIZE(registers), registers,
235 FUNCTION_ADDR(ToBooleanIC_Miss)); 235 FUNCTION_ADDR(ToBooleanIC_Miss));
236 descriptor->SetMissHandler( 236 descriptor->SetMissHandler(
237 ExternalReference(IC_Utility(IC::kToBooleanIC_Miss), isolate())); 237 ExternalReference(IC_Utility(IC::kToBooleanIC_Miss), isolate()));
238 } 238 }
239 239
240 240
241 void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor(
242 CodeStubInterfaceDescriptor* descriptor) {
243 // x0: value
244 // x3: target map
245 // x1: key
246 // x2: receiver
247 Register registers[] = { x0, x3, x1, x2 };
248 descriptor->Initialize(ARRAY_SIZE(registers), registers,
249 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss));
250 }
251
252
241 void BinaryOpICStub::InitializeInterfaceDescriptor( 253 void BinaryOpICStub::InitializeInterfaceDescriptor(
242 CodeStubInterfaceDescriptor* descriptor) { 254 CodeStubInterfaceDescriptor* descriptor) {
243 // x1: left operand 255 // x1: left operand
244 // x0: right operand 256 // x0: right operand
245 Register registers[] = { x1, x0 }; 257 Register registers[] = { x1, x0 };
246 descriptor->Initialize(ARRAY_SIZE(registers), registers, 258 descriptor->Initialize(ARRAY_SIZE(registers), registers,
247 FUNCTION_ADDR(BinaryOpIC_Miss)); 259 FUNCTION_ADDR(BinaryOpIC_Miss));
248 descriptor->SetMissHandler( 260 descriptor->SetMissHandler(
249 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); 261 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate()));
250 } 262 }
(...skipping 5140 matching lines...) Expand 10 before | Expand all | Expand 10 after
5391 MemOperand(fp, 6 * kPointerSize), 5403 MemOperand(fp, 6 * kPointerSize),
5392 NULL); 5404 NULL);
5393 } 5405 }
5394 5406
5395 5407
5396 #undef __ 5408 #undef __
5397 5409
5398 } } // namespace v8::internal 5410 } } // namespace v8::internal
5399 5411
5400 #endif // V8_TARGET_ARCH_ARM64 5412 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/arm64/ic-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698