Index: src/ic/ppc/handler-compiler-ppc.cc |
diff --git a/src/ic/ppc/handler-compiler-ppc.cc b/src/ic/ppc/handler-compiler-ppc.cc |
index 22c0608c973af9ec7582fb79a00487177212a8bd..d312879080b5af06a18ea3f3292d7d0535324a90 100644 |
--- a/src/ic/ppc/handler-compiler-ppc.cc |
+++ b/src/ic/ppc/handler-compiler-ppc.cc |
@@ -108,13 +108,19 @@ void NamedStoreHandlerCompiler::GenerateStoreViaSetter( |
void PropertyHandlerCompiler::PushVectorAndSlot(Register vector, |
Register slot) { |
MacroAssembler* masm = this->masm(); |
- __ Push(vector, slot); |
+ STATIC_ASSERT(LoadWithVectorDescriptor::kSlot < |
+ LoadWithVectorDescriptor::kVector); |
+ STATIC_ASSERT(StoreWithVectorDescriptor::kSlot < |
+ StoreWithVectorDescriptor::kVector); |
+ STATIC_ASSERT(StoreTransitionDescriptor::kSlot < |
+ StoreTransitionDescriptor::kVector); |
+ __ Push(slot, vector); |
} |
void PropertyHandlerCompiler::PopVectorAndSlot(Register vector, Register slot) { |
MacroAssembler* masm = this->masm(); |
- __ Pop(vector, slot); |
+ __ Pop(slot, vector); |
} |
@@ -124,6 +130,9 @@ void PropertyHandlerCompiler::DiscardVectorAndSlot() { |
__ addi(sp, sp, Operand(2 * kPointerSize)); |
} |
+void PropertyHandlerCompiler::PushReturnAddress(Register tmp) { UNREACHABLE(); } |
+ |
+void PropertyHandlerCompiler::PopReturnAddress(Register tmp) { UNREACHABLE(); } |
void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( |
MacroAssembler* masm, Label* miss_label, Register receiver, |
@@ -361,12 +370,6 @@ void NamedStoreHandlerCompiler::GenerateRestoreName(Handle<Name> name) { |
} |
-void NamedStoreHandlerCompiler::RearrangeVectorAndSlot( |
- Register current_map, Register destination_map) { |
- DCHECK(false); // Not implemented. |
-} |
- |
- |
void NamedStoreHandlerCompiler::GenerateRestoreMap(Handle<Map> transition, |
Register map_reg, |
Register scratch, |