Index: src/arm/macro-assembler-arm.h |
=================================================================== |
--- src/arm/macro-assembler-arm.h (revision 5394) |
+++ src/arm/macro-assembler-arm.h (working copy) |
@@ -504,6 +504,15 @@ |
Register scratch1, |
SwVfpRegister scratch2); |
+ // 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. |
+ void ConvertToInt32(Register source, |
+ Register dest, |
+ Register scratch, |
+ Register scratch2, |
+ Label *not_int32); |
+ |
// Count leading zeros in a 32 bit word. On ARM5 and later it uses the clz |
// instruction. On pre-ARM5 hardware this routine gives the wrong answer |
// for 0 (31 instead of 32). Source and scratch can be the same in which case |