Index: src/ia32/macro-assembler-ia32.h |
=================================================================== |
--- src/ia32/macro-assembler-ia32.h (revision 3531) |
+++ src/ia32/macro-assembler-ia32.h (working copy) |
@@ -138,6 +138,15 @@ |
// Compare instance type for map. |
void CmpInstanceType(Register map, InstanceType type); |
+ // Check if the object in register heap_object is a string. 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 IsObjectStringType(Register heap_object, |
+ Register map, |
+ Register instance_type); |
+ |
// FCmp is similar to integer cmp, but requires unsigned |
// jcc instructions (je, ja, jae, jb, jbe, je, and jz). |
void FCmp(); |