Index: src/interface-descriptors.cc |
diff --git a/src/interface-descriptors.cc b/src/interface-descriptors.cc |
index d14b1a101128c8a3f075643af0963eca937de2fc..0a257179496096bbc58534d789845b6935359d1c 100644 |
--- a/src/interface-descriptors.cc |
+++ b/src/interface-descriptors.cc |
@@ -92,22 +92,24 @@ void LoadDescriptor::InitializePlatformSpecific( |
void LoadGlobalDescriptor::InitializePlatformIndependent( |
CallInterfaceDescriptorData* data) { |
- // kSlot |
- MachineType machine_types[] = {MachineType::TaggedSigned()}; |
+ // kName, kSlot |
+ MachineType machine_types[] = {MachineType::AnyTagged(), |
+ MachineType::TaggedSigned()}; |
data->InitializePlatformIndependent(arraysize(machine_types), 0, |
machine_types); |
} |
void LoadGlobalDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {LoadWithVectorDescriptor::SlotRegister()}; |
+ Register registers[] = {NameRegister(), SlotRegister()}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
void LoadGlobalWithVectorDescriptor::InitializePlatformIndependent( |
CallInterfaceDescriptorData* data) { |
- // kSlot, kVector |
- MachineType machine_types[] = {MachineType::TaggedSigned(), |
+ // kName, kSlot, kVector |
+ MachineType machine_types[] = {MachineType::AnyTagged(), |
+ MachineType::TaggedSigned(), |
MachineType::AnyTagged()}; |
data->InitializePlatformIndependent(arraysize(machine_types), 0, |
machine_types); |
@@ -115,8 +117,7 @@ void LoadGlobalWithVectorDescriptor::InitializePlatformIndependent( |
void LoadGlobalWithVectorDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
- Register registers[] = {LoadWithVectorDescriptor::SlotRegister(), |
- LoadWithVectorDescriptor::VectorRegister()}; |
+ Register registers[] = {NameRegister(), SlotRegister(), VectorRegister()}; |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |