| Index: src/ia32/macro-assembler-ia32.h
|
| diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h
|
| index cfc694d4e63900ae02e545ee5be07cdf3a17b58a..da499d88dd3e251aad87bf866222f916a8903c17 100644
|
| --- a/src/ia32/macro-assembler-ia32.h
|
| +++ b/src/ia32/macro-assembler-ia32.h
|
| @@ -421,6 +421,15 @@ class MacroAssembler: public Assembler {
|
| Register map,
|
| Register instance_type);
|
|
|
| + // Check if the object in register heap_object is a name. Afterwards the
|
| + // register map contains the object map and the register instance_type
|
| + // contains the instance_type. The registers map and instance_type can be the
|
| + // same in which case it contains the instance type afterwards. Either of the
|
| + // registers map and instance_type can be the same as heap_object.
|
| + Condition IsObjectNameType(Register heap_object,
|
| + Register map,
|
| + Register instance_type);
|
| +
|
| // Check if a heap object's type is in the JSObject range, not including
|
| // JSFunction. The object's map will be loaded in the map register.
|
| // Any or all of the three registers may be the same.
|
| @@ -511,6 +520,9 @@ class MacroAssembler: public Assembler {
|
| // Abort execution if argument is not a string, enabled via --debug-code.
|
| void AssertString(Register object);
|
|
|
| + // Abort execution if argument is not a name, enabled via --debug-code.
|
| + void AssertName(Register object);
|
| +
|
| // ---------------------------------------------------------------------------
|
| // Exception handling
|
|
|
|
|