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

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: call code stub from TF 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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 void InterpreterCEntryDescriptor::InitializePlatformSpecific( 456 void InterpreterCEntryDescriptor::InitializePlatformSpecific(
457 CallInterfaceDescriptorData* data) { 457 CallInterfaceDescriptorData* data) {
458 Register registers[] = { 458 Register registers[] = {
459 r0, // argument count (argc) 459 r0, // argument count (argc)
460 r2, // address of first argument (argv) 460 r2, // address of first argument (argv)
461 r1 // the runtime function to call 461 r1 // the runtime function to call
462 }; 462 };
463 data->InitializePlatformSpecific(arraysize(registers), registers); 463 data->InitializePlatformSpecific(arraysize(registers), registers);
464 } 464 }
465 465
466
467 void AtomicsLoadDescriptor::InitializePlatformSpecific(
468 CallInterfaceDescriptorData* data) {
469 Register registers[] = {r1, r0};
470 data->InitializePlatformSpecific(arraysize(registers), registers);
471 }
472
473
466 } // namespace internal 474 } // namespace internal
467 } // namespace v8 475 } // namespace v8
468 476
469 #endif // V8_TARGET_ARCH_ARM 477 #endif // V8_TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698