Index: src/arm/macro-assembler-arm.h |
=================================================================== |
--- src/arm/macro-assembler-arm.h (revision 7041) |
+++ src/arm/macro-assembler-arm.h (working copy) |
@@ -577,6 +577,11 @@ |
bool is_heap_object); |
+ // Compare the object in a register to a value from the root list. |
+ // Uses the ip register as scratch. |
+ void CompareRoot(Register obj, Heap::RootListIndex index); |
+ |
+ |
// Load and check the instance type of an object for being a string. |
// Loads the type into the second argument register. |
// Returns a condition that will be enabled if the object was a string. |