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

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

Issue 1006173003: [stubs] Add missing interface descriptor for the CompareIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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/mips64/interface-descriptors-mips64.cc ('k') | src/x64/interface-descriptors-x64.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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 CallInterfaceDescriptorData* data) { 220 CallInterfaceDescriptorData* data) {
221 // stack param count needs (constructor pointer, and single argument) 221 // stack param count needs (constructor pointer, and single argument)
222 Register registers[] = {cp, r4, r3}; 222 Register registers[] = {cp, r4, r3};
223 Representation representations[] = {Representation::Tagged(), 223 Representation representations[] = {Representation::Tagged(),
224 Representation::Tagged(), 224 Representation::Tagged(),
225 Representation::Integer32()}; 225 Representation::Integer32()};
226 data->Initialize(arraysize(registers), registers, representations); 226 data->Initialize(arraysize(registers), registers, representations);
227 } 227 }
228 228
229 229
230 void CompareDescriptor::Initialize(CallInterfaceDescriptorData* data) {
231 Register registers[] = {cp, r4, r3};
232 data->Initialize(arraysize(registers), registers, NULL);
233 }
234
235
230 void CompareNilDescriptor::Initialize(CallInterfaceDescriptorData* data) { 236 void CompareNilDescriptor::Initialize(CallInterfaceDescriptorData* data) {
231 Register registers[] = {cp, r3}; 237 Register registers[] = {cp, r3};
232 data->Initialize(arraysize(registers), registers, NULL); 238 data->Initialize(arraysize(registers), registers, NULL);
233 } 239 }
234 240
235 241
236 void ToBooleanDescriptor::Initialize(CallInterfaceDescriptorData* data) { 242 void ToBooleanDescriptor::Initialize(CallInterfaceDescriptorData* data) {
237 Register registers[] = {cp, r3}; 243 Register registers[] = {cp, r3};
238 data->Initialize(arraysize(registers), registers, NULL); 244 data->Initialize(arraysize(registers), registers, NULL);
239 } 245 }
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 Representation::Tagged(), // call_data 355 Representation::Tagged(), // call_data
350 Representation::Tagged(), // holder 356 Representation::Tagged(), // holder
351 Representation::External(), // api_function_address 357 Representation::External(), // api_function_address
352 }; 358 };
353 data->Initialize(arraysize(registers), registers, representations); 359 data->Initialize(arraysize(registers), registers, representations);
354 } 360 }
355 } 361 }
356 } // namespace v8::internal 362 } // namespace v8::internal
357 363
358 #endif // V8_TARGET_ARCH_PPC 364 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/mips64/interface-descriptors-mips64.cc ('k') | src/x64/interface-descriptors-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698