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

Side by Side Diff: src/x64/interface-descriptors-x64.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/ppc/interface-descriptors-ppc.cc ('k') | no next file » | 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 CallInterfaceDescriptorData* data) { 222 CallInterfaceDescriptorData* data) {
223 // stack param count needs (constructor pointer, and single argument) 223 // stack param count needs (constructor pointer, and single argument)
224 Register registers[] = {rsi, rdi, rax}; 224 Register registers[] = {rsi, rdi, rax};
225 Representation representations[] = {Representation::Tagged(), 225 Representation representations[] = {Representation::Tagged(),
226 Representation::Tagged(), 226 Representation::Tagged(),
227 Representation::Integer32()}; 227 Representation::Integer32()};
228 data->Initialize(arraysize(registers), registers, representations); 228 data->Initialize(arraysize(registers), registers, representations);
229 } 229 }
230 230
231 231
232 void CompareDescriptor::Initialize(CallInterfaceDescriptorData* data) {
233 Register registers[] = {rsi, rdx, rax};
234 data->Initialize(arraysize(registers), registers, NULL);
235 }
236
237
232 void CompareNilDescriptor::Initialize(CallInterfaceDescriptorData* data) { 238 void CompareNilDescriptor::Initialize(CallInterfaceDescriptorData* data) {
233 Register registers[] = {rsi, rax}; 239 Register registers[] = {rsi, rax};
234 data->Initialize(arraysize(registers), registers, NULL); 240 data->Initialize(arraysize(registers), registers, NULL);
235 } 241 }
236 242
237 243
238 void ToBooleanDescriptor::Initialize(CallInterfaceDescriptorData* data) { 244 void ToBooleanDescriptor::Initialize(CallInterfaceDescriptorData* data) {
239 Register registers[] = {rsi, rax}; 245 Register registers[] = {rsi, rax};
240 data->Initialize(arraysize(registers), registers, NULL); 246 data->Initialize(arraysize(registers), registers, NULL);
241 } 247 }
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 Representation::Tagged(), // call_data 357 Representation::Tagged(), // call_data
352 Representation::Tagged(), // holder 358 Representation::Tagged(), // holder
353 Representation::External(), // api_function_address 359 Representation::External(), // api_function_address
354 }; 360 };
355 data->Initialize(arraysize(registers), registers, representations); 361 data->Initialize(arraysize(registers), registers, representations);
356 } 362 }
357 } 363 }
358 } // namespace v8::internal 364 } // namespace v8::internal
359 365
360 #endif // V8_TARGET_ARCH_X64 366 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/ppc/interface-descriptors-ppc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698