Index: src/x64/codegen-x64.cc |
=================================================================== |
--- src/x64/codegen-x64.cc (revision 2828) |
+++ src/x64/codegen-x64.cc (working copy) |
@@ -7347,10 +7347,9 @@ |
scratch, |
no_reg, |
need_gc, |
- false); |
+ TAG_OBJECT); |
// Set the map and tag the result. |
- __ addq(result, Immediate(kHeapObjectTag)); |
__ LoadRoot(kScratchRegister, Heap::kHeapNumberMapRootIndex); |
__ movq(FieldOperand(result, HeapObject::kMapOffset), kScratchRegister); |
} |