Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index d500eaa8bf45f0cae032ce3ab995542a30b26523..98f510b435ec1848d6cb850996dca4e0678e4e9e 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -1091,6 +1091,13 @@ class MacroAssembler: public Assembler { |
Handle<Code> success, |
SmiCheckType smi_check_type); |
+ // Compare the given value and the value of the weak cell. Write the result |
+ // to the match register. |
+ void CmpWeakValue(Register match, Register value, Handle<WeakCell> cell); |
+ |
+ // Load the value of the weak cell in the value register. Branch to the |
+ // given miss label is the weak cell was cleared. |
+ void LoadWeakValue(Register value, Handle<WeakCell> cell, Label* miss); |
// Load and check the instance type of an object for being a string. |
// Loads the type into the second argument register. |