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

Side by Side Diff: src/x64/interface-descriptors-x64.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 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 void InterpreterCEntryDescriptor::InitializePlatformSpecific( 438 void InterpreterCEntryDescriptor::InitializePlatformSpecific(
439 CallInterfaceDescriptorData* data) { 439 CallInterfaceDescriptorData* data) {
440 Register registers[] = { 440 Register registers[] = {
441 rax, // argument count (argc) 441 rax, // argument count (argc)
442 r15, // address of first argument (argv) 442 r15, // address of first argument (argv)
443 rbx // the runtime function to call 443 rbx // the runtime function to call
444 }; 444 };
445 data->InitializePlatformSpecific(arraysize(registers), registers); 445 data->InitializePlatformSpecific(arraysize(registers), registers);
446 } 446 }
447 447
448
449 void AtomicsLoadDescriptor::InitializePlatformSpecific(
450 CallInterfaceDescriptorData* data) {
451 Register registers[] = {rdx, rax};
452 data->InitializePlatformSpecific(arraysize(registers), registers);
453 }
454
455
448 } // namespace internal 456 } // namespace internal
449 } // namespace v8 457 } // namespace v8
450 458
451 #endif // V8_TARGET_ARCH_X64 459 #endif // V8_TARGET_ARCH_X64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698