Index: src/x64/interface-descriptors-x64.cc |
diff --git a/src/x64/interface-descriptors-x64.cc b/src/x64/interface-descriptors-x64.cc |
index f97c6c76720b797c52440780e8746bf2d6c586b6..1ca0c858778f0acc96b5cb5d509460449f7f4c48 100644 |
--- a/src/x64/interface-descriptors-x64.cc |
+++ b/src/x64/interface-descriptors-x64.cc |
@@ -101,7 +101,19 @@ void FastCloneShallowObjectDescriptor::Initialize( |
void CreateAllocationSiteDescriptor::Initialize( |
CallInterfaceDescriptorData* data) { |
Register registers[] = {rsi, rbx, rdx}; |
- data->Initialize(arraysize(registers), registers, NULL); |
+ Representation representations[] = {Representation::Tagged(), |
+ Representation::Tagged(), |
+ Representation::Smi()}; |
+ data->Initialize(arraysize(registers), registers, representations); |
+} |
+ |
+ |
+void CreateWeakCellDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
+ Register registers[] = {rsi, rbx, rdx, rdi}; |
+ Representation representations[] = { |
+ Representation::Tagged(), Representation::Tagged(), Representation::Smi(), |
+ Representation::Tagged()}; |
+ data->Initialize(arraysize(registers), registers, representations); |
} |