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

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

Issue 1224793002: Loads and stores to global vars are now made via property cell shortcuts installed into parent scri… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressing comments 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/x64/full-codegen-x64.cc ('k') | src/x87/full-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_X64 7 #if V8_TARGET_ARCH_X64
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 18 matching lines...) Expand all
29 29
30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return rdi; } 30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return rdi; }
31 31
32 32
33 const Register VectorStoreICDescriptor::VectorRegister() { return rbx; } 33 const Register VectorStoreICDescriptor::VectorRegister() { return rbx; }
34 34
35 35
36 const Register StoreTransitionDescriptor::MapRegister() { return rbx; } 36 const Register StoreTransitionDescriptor::MapRegister() { return rbx; }
37 37
38 38
39 const Register LoadGlobalViaContextDescriptor::DepthRegister() { return rdx; }
40 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return rbx; }
41 const Register LoadGlobalViaContextDescriptor::NameRegister() { return rcx; }
42
43
44 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return rdx; }
45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return rbx; }
46 const Register StoreGlobalViaContextDescriptor::NameRegister() { return rcx; }
47 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return rax; }
48
49
39 const Register ElementTransitionAndStoreDescriptor::MapRegister() { 50 const Register ElementTransitionAndStoreDescriptor::MapRegister() {
40 return rbx; 51 return rbx;
41 } 52 }
42 53
43 54
44 const Register InstanceofDescriptor::left() { return rax; } 55 const Register InstanceofDescriptor::left() { return rax; }
45 const Register InstanceofDescriptor::right() { return rdx; } 56 const Register InstanceofDescriptor::right() { return rdx; }
46 57
47 58
48 const Register ArgumentsAccessReadDescriptor::index() { return rdx; } 59 const Register ArgumentsAccessReadDescriptor::index() { return rdx; }
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 Register registers[] = { 348 Register registers[] = {
338 rdi, // math rounding function 349 rdi, // math rounding function
339 rdx, // vector slot id 350 rdx, // vector slot id
340 }; 351 };
341 data->InitializePlatformSpecific(arraysize(registers), registers); 352 data->InitializePlatformSpecific(arraysize(registers), registers);
342 } 353 }
343 } // namespace internal 354 } // namespace internal
344 } // namespace v8 355 } // namespace v8
345 356
346 #endif // V8_TARGET_ARCH_X64 357 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | src/x87/full-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698