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

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

Issue 866493003: Retry "Use a WeakCell in the CallIC type vector." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 years, 10 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/code-stubs-arm.cc ('k') | src/arm64/code-stubs-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
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void FastCloneShallowObjectDescriptor::Initialize( 91 void FastCloneShallowObjectDescriptor::Initialize(
92 CallInterfaceDescriptorData* data) { 92 CallInterfaceDescriptorData* data) {
93 Register registers[] = {cp, r3, r2, r1, r0}; 93 Register registers[] = {cp, r3, r2, r1, r0};
94 data->Initialize(arraysize(registers), registers, NULL); 94 data->Initialize(arraysize(registers), registers, NULL);
95 } 95 }
96 96
97 97
98 void CreateAllocationSiteDescriptor::Initialize( 98 void CreateAllocationSiteDescriptor::Initialize(
99 CallInterfaceDescriptorData* data) { 99 CallInterfaceDescriptorData* data) {
100 Register registers[] = {cp, r2, r3}; 100 Register registers[] = {cp, r2, r3};
101 data->Initialize(arraysize(registers), registers, NULL); 101 Representation representations[] = {Representation::Tagged(),
102 Representation::Tagged(),
103 Representation::Smi()};
104 data->Initialize(arraysize(registers), registers, representations);
102 } 105 }
103 106
104 107
108 void CreateWeakCellDescriptor::Initialize(CallInterfaceDescriptorData* data) {
109 Register registers[] = {cp, r2, r3, r1};
110 Representation representations[] = {
111 Representation::Tagged(), Representation::Tagged(), Representation::Smi(),
112 Representation::Tagged()};
113 data->Initialize(arraysize(registers), registers, representations);
114 }
115
116
105 void StoreArrayLiteralElementDescriptor::Initialize( 117 void StoreArrayLiteralElementDescriptor::Initialize(
106 CallInterfaceDescriptorData* data) { 118 CallInterfaceDescriptorData* data) {
107 Register registers[] = {cp, r3, r0}; 119 Register registers[] = {cp, r3, r0};
108 data->Initialize(arraysize(registers), registers, NULL); 120 data->Initialize(arraysize(registers), registers, NULL);
109 } 121 }
110 122
111 123
112 void CallFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { 124 void CallFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) {
113 Register registers[] = {cp, r1}; 125 Register registers[] = {cp, r1};
114 data->Initialize(arraysize(registers), registers, NULL); 126 data->Initialize(arraysize(registers), registers, NULL);
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 Representation::Tagged(), // holder 373 Representation::Tagged(), // holder
362 Representation::External(), // api_function_address 374 Representation::External(), // api_function_address
363 }; 375 };
364 data->Initialize(arraysize(registers), registers, representations, 376 data->Initialize(arraysize(registers), registers, representations,
365 &default_descriptor); 377 &default_descriptor);
366 } 378 }
367 } 379 }
368 } // namespace v8::internal 380 } // namespace v8::internal
369 381
370 #endif // V8_TARGET_ARCH_ARM 382 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm64/code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698