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

Side by Side Diff: src/ia32/interface-descriptors-ia32.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/ia32/frames-ia32.cc ('k') | src/interface-descriptors.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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_IA32 7 #if V8_TARGET_ARCH_IA32
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 esi; }
15
16
17 const Register LoadDescriptor::ReceiverRegister() { return edx; } 14 const Register LoadDescriptor::ReceiverRegister() { return edx; }
18 const Register LoadDescriptor::NameRegister() { return ecx; } 15 const Register LoadDescriptor::NameRegister() { return ecx; }
19 const Register LoadDescriptor::SlotRegister() { return eax; } 16 const Register LoadDescriptor::SlotRegister() { return eax; }
20 17
21 const Register LoadWithVectorDescriptor::VectorRegister() { return ebx; } 18 const Register LoadWithVectorDescriptor::VectorRegister() { return ebx; }
22 19
23 20
24 const Register StoreDescriptor::ReceiverRegister() { return edx; } 21 const Register StoreDescriptor::ReceiverRegister() { return edx; }
25 const Register StoreDescriptor::NameRegister() { return ecx; } 22 const Register StoreDescriptor::NameRegister() { return ecx; }
26 const Register StoreDescriptor::ValueRegister() { return eax; } 23 const Register StoreDescriptor::ValueRegister() { return eax; }
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 edi, // math rounding function 356 edi, // math rounding function
360 edx, // vector slot id 357 edx, // vector slot id
361 ebx // type vector 358 ebx // type vector
362 }; 359 };
363 data->InitializePlatformSpecific(arraysize(registers), registers); 360 data->InitializePlatformSpecific(arraysize(registers), registers);
364 } 361 }
365 } // namespace internal 362 } // namespace internal
366 } // namespace v8 363 } // namespace v8
367 364
368 #endif // V8_TARGET_ARCH_IA32 365 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/frames-ia32.cc ('k') | src/interface-descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698