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

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

Issue 1261473002: PPC: [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/ppc/code-stubs-ppc.cc ('k') | src/ppc/lithium-codegen-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC 7 #if V8_TARGET_ARCH_PPC
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 r7; } 30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return r7; }
31 31
32 32
33 const Register VectorStoreICDescriptor::VectorRegister() { return r6; } 33 const Register VectorStoreICDescriptor::VectorRegister() { return r6; }
34 34
35 35
36 const Register StoreTransitionDescriptor::MapRegister() { return r6; } 36 const Register StoreTransitionDescriptor::MapRegister() { return r6; }
37 37
38 38
39 const Register LoadGlobalViaContextDescriptor::DepthRegister() { return r4; }
40 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return r5; } 39 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return r5; }
41 const Register LoadGlobalViaContextDescriptor::NameRegister() { return r6; } 40 const Register LoadGlobalViaContextDescriptor::NameRegister() { return r6; }
42 41
43 42
44 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return r4; }
45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return r5; } 43 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return r5; }
46 const Register StoreGlobalViaContextDescriptor::NameRegister() { return r6; } 44 const Register StoreGlobalViaContextDescriptor::NameRegister() { return r6; }
47 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return r3; } 45 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return r3; }
48 46
49 47
50 const Register InstanceofDescriptor::left() { return r3; } 48 const Register InstanceofDescriptor::left() { return r3; }
51 const Register InstanceofDescriptor::right() { return r4; } 49 const Register InstanceofDescriptor::right() { return r4; }
52 50
53 51
54 const Register ArgumentsAccessReadDescriptor::index() { return r4; } 52 const Register ArgumentsAccessReadDescriptor::index() { return r4; }
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 r4, // math rounding function 359 r4, // math rounding function
362 r6, // vector slot id 360 r6, // vector slot id
363 r7, // type vector 361 r7, // type vector
364 }; 362 };
365 data->InitializePlatformSpecific(arraysize(registers), registers); 363 data->InitializePlatformSpecific(arraysize(registers), registers);
366 } 364 }
367 } // namespace internal 365 } // namespace internal
368 } // namespace v8 366 } // namespace v8
369 367
370 #endif // V8_TARGET_ARCH_PPC 368 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/ppc/lithium-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698