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

Side by Side Diff: src/arm/interface-descriptors-arm.cc

Issue 1617503003: [Atomics] code stubs for atomic operations (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove unnecessary CSA additions Created 4 years, 10 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
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/arm/interface-descriptors-arm.h" 5 #include "src/arm/interface-descriptors-arm.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 void InterpreterCEntryDescriptor::InitializePlatformSpecific( 464 void InterpreterCEntryDescriptor::InitializePlatformSpecific(
465 CallInterfaceDescriptorData* data) { 465 CallInterfaceDescriptorData* data) {
466 Register registers[] = { 466 Register registers[] = {
467 r0, // argument count (argc) 467 r0, // argument count (argc)
468 r2, // address of first argument (argv) 468 r2, // address of first argument (argv)
469 r1 // the runtime function to call 469 r1 // the runtime function to call
470 }; 470 };
471 data->InitializePlatformSpecific(arraysize(registers), registers); 471 data->InitializePlatformSpecific(arraysize(registers), registers);
472 } 472 }
473 473
474
475 void AtomicsLoadDescriptor::InitializePlatformSpecific(
476 CallInterfaceDescriptorData* data) {
477 Register registers[] = {r1, r0};
478 data->InitializePlatformSpecific(arraysize(registers), registers);
479 }
480
481
474 } // namespace internal 482 } // namespace internal
475 } // namespace v8 483 } // namespace v8
476 484
477 #endif // V8_TARGET_ARCH_ARM 485 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/disasm-arm.cc ('k') | src/arm/simulator-arm.cc » ('j') | src/builtins.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698