Index: src/x87/macro-assembler-x87.cc |
diff --git a/src/x87/macro-assembler-x87.cc b/src/x87/macro-assembler-x87.cc |
index 8f34c19c9be0cd171afa840c0c0d71606bbcc796..c29b597e52c536457bba6e004a50d658299a4955 100644 |
--- a/src/x87/macro-assembler-x87.cc |
+++ b/src/x87/macro-assembler-x87.cc |
@@ -2388,10 +2388,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, cell); |
mov(value, FieldOperand(value, WeakCell::kValueOffset)); |
+} |
+ |
+ |
+void MacroAssembler::LoadWeakValue(Register value, Handle<WeakCell> cell, |
+ Label* miss) { |
+ GetWeakValue(value, cell); |
JumpIfSmi(value, miss); |
} |