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

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

Issue 1696263002: X87: [Interpreter] Make InterpreterAssembler a subclass of CodeStubAssembler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_X87 5 #if V8_TARGET_ARCH_X87
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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 ecx, // holder 403 ecx, // holder
404 edx, // api_function_address 404 edx, // api_function_address
405 }; 405 };
406 data->InitializePlatformSpecific(arraysize(registers), registers); 406 data->InitializePlatformSpecific(arraysize(registers), registers);
407 } 407 }
408 408
409 void InterpreterDispatchDescriptor::InitializePlatformSpecific( 409 void InterpreterDispatchDescriptor::InitializePlatformSpecific(
410 CallInterfaceDescriptorData* data) { 410 CallInterfaceDescriptorData* data) {
411 Register registers[] = { 411 Register registers[] = {
412 kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister, 412 kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister,
413 kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister, 413 kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister};
414 kInterpreterDispatchTableRegister};
415 data->InitializePlatformSpecific(arraysize(registers), registers); 414 data->InitializePlatformSpecific(arraysize(registers), registers);
416 } 415 }
417 416
418 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( 417 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
419 CallInterfaceDescriptorData* data) { 418 CallInterfaceDescriptorData* data) {
420 Register registers[] = { 419 Register registers[] = {
421 eax, // argument count (not including receiver) 420 eax, // argument count (not including receiver)
422 ebx, // address of first argument 421 ebx, // address of first argument
423 edi // the target callable to be call 422 edi // the target callable to be call
424 }; 423 };
(...skipping 18 matching lines...) Expand all
443 ecx, // address of first argument (argv) 442 ecx, // address of first argument (argv)
444 ebx // the runtime function to call 443 ebx // the runtime function to call
445 }; 444 };
446 data->InitializePlatformSpecific(arraysize(registers), registers); 445 data->InitializePlatformSpecific(arraysize(registers), registers);
447 } 446 }
448 447
449 } // namespace internal 448 } // namespace internal
450 } // namespace v8 449 } // namespace v8
451 450
452 #endif // V8_TARGET_ARCH_X87 451 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698