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

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

Issue 1617503003: [Atomics] code stubs for atomic operations (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove Context() 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_IA32 5 #if V8_TARGET_ARCH_IA32
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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 void InterpreterCEntryDescriptor::InitializePlatformSpecific( 444 void InterpreterCEntryDescriptor::InitializePlatformSpecific(
445 CallInterfaceDescriptorData* data) { 445 CallInterfaceDescriptorData* data) {
446 Register registers[] = { 446 Register registers[] = {
447 eax, // argument count (argc) 447 eax, // argument count (argc)
448 ecx, // address of first argument (argv) 448 ecx, // address of first argument (argv)
449 ebx // the runtime function to call 449 ebx // the runtime function to call
450 }; 450 };
451 data->InitializePlatformSpecific(arraysize(registers), registers); 451 data->InitializePlatformSpecific(arraysize(registers), registers);
452 } 452 }
453 453
454
455 void AtomicsLoadDescriptor::InitializePlatformSpecific(
456 CallInterfaceDescriptorData* data) {
457 Register registers[] = {edx, eax};
458 data->InitializePlatformSpecific(arraysize(registers), registers);
459 }
460
454 } // namespace internal 461 } // namespace internal
455 } // namespace v8 462 } // namespace v8
456 463
457 #endif // V8_TARGET_ARCH_IA32 464 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698