Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index dd90650f6d588d63fa260a7f8bfd43399f64b63c..8f7cae92b5bdda2a152500340bbc72b8013e75ca 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -452,6 +452,18 @@ |
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. |
+ // The contents of the scratch register will always be overwritten. |
+ void IsObjectJSObjectType(Register heap_object, |
+ Register map, |
+ Register scratch, |
+ Label* fail); |
+ |
+ // The contents of the scratch register will be overwritten. |
+ void IsInstanceJSObjectType(Register map, Register scratch, Label* fail); |
+ |
// FCmp is similar to integer cmp, but requires unsigned |
// jcc instructions (je, ja, jae, jb, jbe, je, and jz). |
void FCmp(); |