| Index: src/ia32/macro-assembler-ia32.h
|
| diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h
|
| index 4805a07e93e96c9ae7fdb585c29a42f42a4283dc..3a9df10b1757d5a3d4b932e25005bb5983ffee28 100644
|
| --- a/src/ia32/macro-assembler-ia32.h
|
| +++ b/src/ia32/macro-assembler-ia32.h
|
| @@ -215,6 +215,12 @@ class MacroAssembler: public Assembler {
|
| // Compare instance type for map.
|
| void CmpInstanceType(Register map, 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,
|
| + Label* fail,
|
| + Label::Distance distance = Label::kFar);
|
| +
|
| // Check if the map of an object is equal to a specified map and branch to
|
| // label if not. Skip the smi check if not required (object is known to be a
|
| // heap object)
|
|
|