Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index 37739d9c165901bfae47281023d93d502fb8c274..8b559755a0bdde64d32145e3e493791205a23e3a 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -3675,10 +3675,15 @@ void MacroAssembler::CmpWeakValue(Register value, Handle<WeakCell> cell, |
} |
-void MacroAssembler::LoadWeakValue(Register value, Handle<WeakCell> cell, |
- Label* miss) { |
+void MacroAssembler::GetWeakValue(Register value, Handle<WeakCell> cell) { |
Mov(value, Operand(cell)); |
Ldr(value, FieldMemOperand(value, WeakCell::kValueOffset)); |
+} |
+ |
+ |
+void MacroAssembler::LoadWeakValue(Register value, Handle<WeakCell> cell, |
+ Label* miss) { |
+ GetWeakValue(value, cell); |
JumpIfSmi(value, miss); |
} |