Index: src/ic/arm64/handler-compiler-arm64.cc |
diff --git a/src/ic/arm64/handler-compiler-arm64.cc b/src/ic/arm64/handler-compiler-arm64.cc |
index 277b4e7117a454ecd06f6601b9e9213165414bb9..1878e6d5d2b504714530242cd7a577f06a855b61 100644 |
--- a/src/ic/arm64/handler-compiler-arm64.cc |
+++ b/src/ic/arm64/handler-compiler-arm64.cc |
@@ -20,15 +20,21 @@ namespace internal { |
void PropertyHandlerCompiler::PushVectorAndSlot(Register vector, |
Register slot) { |
MacroAssembler* masm = this->masm(); |
- __ Push(vector); |
+ STATIC_ASSERT(LoadWithVectorDescriptor::kSlot < |
+ LoadWithVectorDescriptor::kVector); |
+ STATIC_ASSERT(StoreWithVectorDescriptor::kSlot < |
+ StoreWithVectorDescriptor::kVector); |
+ STATIC_ASSERT(StoreTransitionDescriptor::kSlot < |
+ StoreTransitionDescriptor::kVector); |
__ Push(slot); |
+ __ Push(vector); |
} |
void PropertyHandlerCompiler::PopVectorAndSlot(Register vector, Register slot) { |
MacroAssembler* masm = this->masm(); |
- __ Pop(slot); |
__ Pop(vector); |
+ __ Pop(slot); |
} |
@@ -38,6 +44,9 @@ void PropertyHandlerCompiler::DiscardVectorAndSlot() { |
__ Drop(2); |
} |
+void PropertyHandlerCompiler::PushReturnAddress(Register tmp) { UNREACHABLE(); } |
+ |
+void PropertyHandlerCompiler::PopReturnAddress(Register tmp) { UNREACHABLE(); } |
void PropertyHandlerCompiler::GenerateDictionaryNegativeLookup( |
MacroAssembler* masm, Label* miss_label, Register receiver, |
@@ -398,12 +407,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, |