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

Side by Side Diff: src/arm/interface-descriptors-arm.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/arm/frames-arm.cc ('k') | src/arm64/frames-arm64.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_ARM 7 #if V8_TARGET_ARCH_ARM
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 r1; } 14 const Register LoadDescriptor::ReceiverRegister() { return r1; }
18 const Register LoadDescriptor::NameRegister() { return r2; } 15 const Register LoadDescriptor::NameRegister() { return r2; }
19 const Register LoadDescriptor::SlotRegister() { return r0; } 16 const Register LoadDescriptor::SlotRegister() { return r0; }
20 17
21 18
22 const Register LoadWithVectorDescriptor::VectorRegister() { return r3; } 19 const Register LoadWithVectorDescriptor::VectorRegister() { return r3; }
23 20
24 21
25 const Register StoreDescriptor::ReceiverRegister() { return r1; } 22 const Register StoreDescriptor::ReceiverRegister() { return r1; }
26 const Register StoreDescriptor::NameRegister() { return r2; } 23 const Register StoreDescriptor::NameRegister() { return r2; }
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 r1, // math rounding function 377 r1, // math rounding function
381 r3, // vector slot id 378 r3, // vector slot id
382 r4, // type vector 379 r4, // type vector
383 }; 380 };
384 data->InitializePlatformSpecific(arraysize(registers), registers); 381 data->InitializePlatformSpecific(arraysize(registers), registers);
385 } 382 }
386 } // namespace internal 383 } // namespace internal
387 } // namespace v8 384 } // namespace v8
388 385
389 #endif // V8_TARGET_ARCH_ARM 386 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/frames-arm.cc ('k') | src/arm64/frames-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698