Index: src/arm64/macro-assembler-arm64.h |
diff --git a/src/arm64/macro-assembler-arm64.h b/src/arm64/macro-assembler-arm64.h |
index 905d4493edec5e71518ad7c0678ac493388bc5cc..ee4358955f58a6c52feb665431458ee32adfe202 100644 |
--- a/src/arm64/macro-assembler-arm64.h |
+++ b/src/arm64/macro-assembler-arm64.h |
@@ -1478,14 +1478,12 @@ class MacroAssembler : public Assembler { |
Label* fail, |
SmiCheckType smi_check_type); |
- // Check if the map of an object is equal to a specified map and branch to a |
- // specified target if equal. Skip the smi check if not required (object is |
- // known to be a heap object) |
- void DispatchMap(Register obj, |
- Register scratch, |
- Handle<Map> map, |
- Handle<Code> success, |
- SmiCheckType smi_check_type); |
+ // Check if the map of an object is equal to a specified weak map and branch |
+ // to a specified target if equal. Skip the smi check if not required |
+ // (object is known to be a heap object) |
+ void DispatchWeakMap(Register obj, Register scratch1, Register scratch2, |
+ Handle<WeakCell> cell, Handle<Code> success, |
+ SmiCheckType smi_check_type); |
// Compare the given value and the value of weak cell. |
void CmpWeakValue(Register value, Handle<WeakCell> cell, Register scratch); |