Index: src/ppc/interface-descriptors-ppc.cc |
diff --git a/src/ppc/interface-descriptors-ppc.cc b/src/ppc/interface-descriptors-ppc.cc |
index 03da4b088492eb48be592c17d44cc9fe1b2d6e01..bc188f4be1bb5c5f1bbaf2345713c698756c6a0e 100644 |
--- a/src/ppc/interface-descriptors-ppc.cc |
+++ b/src/ppc/interface-descriptors-ppc.cc |
@@ -293,6 +293,17 @@ void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( |
data->InitializePlatformSpecific(arraysize(registers), registers); |
} |
+void BinaryOpWithVectorDescriptor::InitializePlatformSpecific( |
+ CallInterfaceDescriptorData* data) { |
+ // register state |
+ // r4 -- lhs |
+ // r3 -- rhs |
+ // r7 -- slot id |
+ // r6 -- vector |
+ Register registers[] = {r4, r3, r7, r6}; |
+ data->InitializePlatformSpecific(arraysize(registers), registers); |
+} |
+ |
void CountOpDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = {r4}; |