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

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

Issue 1258513003: X87: [stubs] Optimize LoadGlobalViaContextStub and StoreGlobalViaContextStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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/x87/full-codegen-x87.cc ('k') | src/x87/lithium-codegen-x87.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_X87 7 #if V8_TARGET_ARCH_X87
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 17 matching lines...) Expand all
28 28
29 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return edi; } 29 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return edi; }
30 30
31 31
32 const Register VectorStoreICDescriptor::VectorRegister() { return ebx; } 32 const Register VectorStoreICDescriptor::VectorRegister() { return ebx; }
33 33
34 34
35 const Register StoreTransitionDescriptor::MapRegister() { return ebx; } 35 const Register StoreTransitionDescriptor::MapRegister() { return ebx; }
36 36
37 37
38 const Register LoadGlobalViaContextDescriptor::DepthRegister() { return edx; }
39 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return ebx; } 38 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return ebx; }
40 const Register LoadGlobalViaContextDescriptor::NameRegister() { return ecx; } 39 const Register LoadGlobalViaContextDescriptor::NameRegister() { return ecx; }
41 40
42 41
43 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return edx; }
44 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; } 42 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; }
45 const Register StoreGlobalViaContextDescriptor::NameRegister() { return ecx; } 43 const Register StoreGlobalViaContextDescriptor::NameRegister() { return ecx; }
46 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; } 44 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; }
47 45
48 46
49 const Register InstanceofDescriptor::left() { return eax; } 47 const Register InstanceofDescriptor::left() { return eax; }
50 const Register InstanceofDescriptor::right() { return edx; } 48 const Register InstanceofDescriptor::right() { return edx; }
51 49
52 50
53 const Register ArgumentsAccessReadDescriptor::index() { return edx; } 51 const Register ArgumentsAccessReadDescriptor::index() { return edx; }
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 edi, // math rounding function 352 edi, // math rounding function
355 edx, // vector slot id 353 edx, // vector slot id
356 ebx // type vector 354 ebx // type vector
357 }; 355 };
358 data->InitializePlatformSpecific(arraysize(registers), registers); 356 data->InitializePlatformSpecific(arraysize(registers), registers);
359 } 357 }
360 } // namespace internal 358 } // namespace internal
361 } // namespace v8 359 } // namespace v8
362 360
363 #endif // V8_TARGET_ARCH_X87 361 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/full-codegen-x87.cc ('k') | src/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698