Index: src/arm/full-codegen-arm.cc |
=================================================================== |
--- src/arm/full-codegen-arm.cc (revision 4889) |
+++ src/arm/full-codegen-arm.cc (working copy) |
@@ -2156,7 +2156,8 @@ |
Label slow_allocate_heapnumber; |
Label heapnumber_allocated; |
- __ AllocateHeapNumber(r4, r1, r2, &slow_allocate_heapnumber); |
+ __ LoadRoot(r6, Heap::kHeapNumberMapRootIndex); |
+ __ AllocateHeapNumber(r4, r1, r2, r6, &slow_allocate_heapnumber); |
__ jmp(&heapnumber_allocated); |
__ bind(&slow_allocate_heapnumber); |