Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index 2fbe2d7c7cc7e30344bf05c3552ea72502e0e1cd..0eb5981b6d42788bfdf622764d38ce9eb454889a 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -723,6 +723,12 @@ DECLARE_NOTARGET_PROTOTYPE(Ret) |
Register map, |
Register type_reg); |
+ // Check if a map for a JSObject indicates that the object has fast elements. |
+ // Jump to the specified label if it does not. |
+ void CheckFastElements(Register map, |
+ Register scratch, |
+ Label* fail); |
+ |
// Check if the map of an object is equal to a specified map (either |
// given directly or as an index into the root list) and branch to |
// label if not. Skip the smi check if not required (object is known |