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

Side by Side Diff: src/mips/interface-descriptors-mips.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/mips/builtins-mips.cc ('k') | src/mips/macro-assembler-mips.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_MIPS 5 #if V8_TARGET_ARCH_MIPS
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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 t0, // call_data 370 t0, // call_data
371 a2, // holder 371 a2, // holder
372 a1, // api_function_address 372 a1, // api_function_address
373 }; 373 };
374 data->InitializePlatformSpecific(arraysize(registers), registers); 374 data->InitializePlatformSpecific(arraysize(registers), registers);
375 } 375 }
376 376
377 void InterpreterDispatchDescriptor::InitializePlatformSpecific( 377 void InterpreterDispatchDescriptor::InitializePlatformSpecific(
378 CallInterfaceDescriptorData* data) { 378 CallInterfaceDescriptorData* data) {
379 Register registers[] = { 379 Register registers[] = {
380 kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister, 380 kInterpreterAccumulatorRegister, kInterpreterBytecodeOffsetRegister,
381 kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister, 381 kInterpreterBytecodeArrayRegister, kInterpreterDispatchTableRegister};
382 kInterpreterDispatchTableRegister};
383 data->InitializePlatformSpecific(arraysize(registers), registers); 382 data->InitializePlatformSpecific(arraysize(registers), registers);
384 } 383 }
385 384
386 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( 385 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
387 CallInterfaceDescriptorData* data) { 386 CallInterfaceDescriptorData* data) {
388 Register registers[] = { 387 Register registers[] = {
389 a0, // argument count (not including receiver) 388 a0, // argument count (not including receiver)
390 a2, // address of first argument 389 a2, // address of first argument
391 a1 // the target callable to be call 390 a1 // the target callable to be call
392 }; 391 };
(...skipping 28 matching lines...) Expand all
421 a1, // the JSGeneratorObject to resume 420 a1, // the JSGeneratorObject to resume
422 a2 // the resume mode (tagged) 421 a2 // the resume mode (tagged)
423 }; 422 };
424 data->InitializePlatformSpecific(arraysize(registers), registers); 423 data->InitializePlatformSpecific(arraysize(registers), registers);
425 } 424 }
426 425
427 } // namespace internal 426 } // namespace internal
428 } // namespace v8 427 } // namespace v8
429 428
430 #endif // V8_TARGET_ARCH_MIPS 429 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/mips/macro-assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698