Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index b12b3ef903e5b90f5a0b39ad33a4af7889df2206..c8fb60dafa93bb614d9afbe3701e00dbcab11b10 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -2279,10 +2279,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); |
} |