Index: src/arm/macro-assembler-arm.h |
=================================================================== |
--- src/arm/macro-assembler-arm.h (revision 6618) |
+++ src/arm/macro-assembler-arm.h (working copy) |
@@ -589,11 +589,13 @@ |
// Convert the HeapNumber pointed to by source to a 32bits signed integer |
// dest. If the HeapNumber does not fit into a 32bits signed integer branch |
- // to not_int32 label. |
+ // to not_int32 label. If VFP3 is available double_scratch is used but not |
+ // scratch2. |
void ConvertToInt32(Register source, |
Register dest, |
Register scratch, |
Register scratch2, |
+ DwVfpRegister double_scratch, |
Label *not_int32); |
// Count leading zeros in a 32 bit word. On ARM5 and later it uses the clz |
@@ -763,6 +765,11 @@ |
void AbortIfSmi(Register object); |
void AbortIfNotSmi(Register object); |
+ // Abort execution if argument is not the root value with the given index. |
+ void AbortIfNotRootValue(Register src, |
+ Heap::RootListIndex root_value_index, |
+ const char* message); |
+ |
// --------------------------------------------------------------------------- |
// HeapNumber utilities |