PPC: [stubs]: Implement ArrayNoArgumentConstructor as a TF stub
Port fa570e55b6
R=danno@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
BUG=
LOG=N
Review-Url: https://codereview.chromium.org/1950443002
Cr-Commit-Position: refs/heads/master@{#35994}
This commit is contained in:
parent
81cb841170
commit
b90ba31cd4
@ -54,12 +54,6 @@ static void InitializeInternalArrayConstructorDescriptor(
|
||||
}
|
||||
|
||||
|
||||
void ArrayNoArgumentConstructorStub::InitializeDescriptor(
|
||||
CodeStubDescriptor* descriptor) {
|
||||
InitializeArrayConstructorDescriptor(isolate(), descriptor, 0);
|
||||
}
|
||||
|
||||
|
||||
void ArraySingleArgumentConstructorStub::InitializeDescriptor(
|
||||
CodeStubDescriptor* descriptor) {
|
||||
InitializeArrayConstructorDescriptor(isolate(), descriptor, 1);
|
||||
|
@ -245,6 +245,16 @@ void AllocateHeapNumberDescriptor::InitializePlatformSpecific(
|
||||
SIMD128_TYPES(SIMD128_ALLOC_DESC)
|
||||
#undef SIMD128_ALLOC_DESC
|
||||
|
||||
void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific(
|
||||
CallInterfaceDescriptorData* data) {
|
||||
// register state
|
||||
// r3 -- number of arguments
|
||||
// r4 -- function
|
||||
// r5 -- allocation site with elements kind
|
||||
Register registers[] = {r4, r5, r3};
|
||||
data->InitializePlatformSpecific(arraysize(registers), registers);
|
||||
}
|
||||
|
||||
void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific(
|
||||
CallInterfaceDescriptorData* data) {
|
||||
// register state
|
||||
|
Loading…
Reference in New Issue
Block a user