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/mips64/interface-descriptors-mips64.cc

Issue 1894063002: [Interpreter] Remove register file register and replace with LoadParentFramePointer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix gcc Created 4 years, 8 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 | « src/mips64/builtins-mips64.cc ('k') | src/mips64/macro-assembler-mips64.h » ('j') | 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_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 a4, // call_data 369 a4, // call_data
370 a2, // holder 370 a2, // holder
371 a1, // api_function_address 371 a1, // api_function_address
372 }; 372 };
373 data->InitializePlatformSpecific(arraysize(registers), registers); 373 data->InitializePlatformSpecific(arraysize(registers), registers);
374 } 374 }
375 375
376 void InterpreterDispatchDescriptor::InitializePlatformSpecific( 376 void InterpreterDispatchDescriptor::InitializePlatformSpecific(
377 CallInterfaceDescriptorData* data) { 377 CallInterfaceDescriptorData* data) {
378 Register registers[] = { 378 Register registers[] = {
379 kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister, 379 kInterpreterAccumulatorRegister, kInterpreterBytecodeOffsetRegister,
380 kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister, 380 kInterpreterBytecodeArrayRegister, kInterpreterDispatchTableRegister};
381 kInterpreterDispatchTableRegister};
382 data->InitializePlatformSpecific(arraysize(registers), registers); 381 data->InitializePlatformSpecific(arraysize(registers), registers);
383 } 382 }
384 383
385 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( 384 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
386 CallInterfaceDescriptorData* data) { 385 CallInterfaceDescriptorData* data) {
387 Register registers[] = { 386 Register registers[] = {
388 a0, // argument count (not including receiver) 387 a0, // argument count (not including receiver)
389 a2, // address of first argument 388 a2, // address of first argument
390 a1 // the target callable to be call 389 a1 // the target callable to be call
391 }; 390 };
(...skipping 28 matching lines...) Expand all
420 a1, // the JSGeneratorObject to resume 419 a1, // the JSGeneratorObject to resume
421 a2 // the resume mode (tagged) 420 a2 // the resume mode (tagged)
422 }; 421 };
423 data->InitializePlatformSpecific(arraysize(registers), registers); 422 data->InitializePlatformSpecific(arraysize(registers), registers);
424 } 423 }
425 424
426 } // namespace internal 425 } // namespace internal
427 } // namespace v8 426 } // namespace v8
428 427
429 #endif // V8_TARGET_ARCH_MIPS64 428 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/builtins-mips64.cc ('k') | src/mips64/macro-assembler-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698