Index: src/arm/macro-assembler-arm.h |
=================================================================== |
--- src/arm/macro-assembler-arm.h (revision 8174) |
+++ src/arm/macro-assembler-arm.h (working copy) |
@@ -577,6 +577,12 @@ |
InstanceType type); |
+ // 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 |