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

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

Issue 1242303005: [turbofan]: Elide extra move when accessing stack or frame register (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: src/compiler/code-generator.cc Created 5 years, 5 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/frames-mips.cc ('k') | src/mips64/frames-mips64.cc » ('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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_MIPS 7 #if V8_TARGET_ARCH_MIPS
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 const Register CallInterfaceDescriptor::ContextRegister() { return cp; }
15
16
17 const Register LoadDescriptor::ReceiverRegister() { return a1; } 14 const Register LoadDescriptor::ReceiverRegister() { return a1; }
18 const Register LoadDescriptor::NameRegister() { return a2; } 15 const Register LoadDescriptor::NameRegister() { return a2; }
19 const Register LoadDescriptor::SlotRegister() { return a0; } 16 const Register LoadDescriptor::SlotRegister() { return a0; }
20 17
21 18
22 const Register LoadWithVectorDescriptor::VectorRegister() { return a3; } 19 const Register LoadWithVectorDescriptor::VectorRegister() { return a3; }
23 20
24 21
25 const Register StoreDescriptor::ReceiverRegister() { return a1; } 22 const Register StoreDescriptor::ReceiverRegister() { return a1; }
26 const Register StoreDescriptor::NameRegister() { return a2; } 23 const Register StoreDescriptor::NameRegister() { return a2; }
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 a1, // math rounding function 354 a1, // math rounding function
358 a3, // vector slot id 355 a3, // vector slot id
359 a2, // type vector 356 a2, // type vector
360 }; 357 };
361 data->InitializePlatformSpecific(arraysize(registers), registers); 358 data->InitializePlatformSpecific(arraysize(registers), registers);
362 } 359 }
363 } // namespace internal 360 } // namespace internal
364 } // namespace v8 361 } // namespace v8
365 362
366 #endif // V8_TARGET_ARCH_MIPS 363 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/frames-mips.cc ('k') | src/mips64/frames-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698