Index: src/ic/s390/handler-compiler-s390.cc |
diff --git a/src/ic/s390/handler-compiler-s390.cc b/src/ic/s390/handler-compiler-s390.cc |
index b399c5a60102cea765e22b8efc45ba226da64b30..b1761f3dc999e157205ae1a4d892545a0cd86175 100644 |
--- a/src/ic/s390/handler-compiler-s390.cc |
+++ b/src/ic/s390/handler-compiler-s390.cc |
@@ -105,12 +105,18 @@ 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); |
} |
void PropertyHandlerCompiler::DiscardVectorAndSlot() { |
@@ -119,6 +125,10 @@ void PropertyHandlerCompiler::DiscardVectorAndSlot() { |
__ la(sp, MemOperand(sp, 2 * kPointerSize)); |
} |
+void PropertyHandlerCompiler::PushReturnAddress(Register tmp) { UNREACHABLE(); } |
+ |
+void PropertyHandlerCompiler::PopReturnAddress(Register tmp) { UNREACHABLE(); } |
+ |
void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( |
MacroAssembler* masm, Label* miss_label, Register receiver, |
Handle<Name> name, Register scratch0, Register scratch1) { |
@@ -340,11 +350,6 @@ void NamedStoreHandlerCompiler::GenerateRestoreName(Handle<Name> name) { |
__ mov(this->name(), Operand(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, |