Index: src/x64/cfg-x64.cc |
=================================================================== |
--- src/x64/cfg-x64.cc (revision 2780) |
+++ src/x64/cfg-x64.cc (working copy) |
@@ -71,8 +71,7 @@ |
__ push(rdi); |
int count = CfgGlobals::current()->fun()->scope()->num_stack_slots(); |
if (count > 0) { |
- __ movq(kScratchRegister, Factory::undefined_value(), |
- RelocInfo::EMBEDDED_OBJECT); |
+ __ LoadRoot(kScratchRegister, Heap::kUndefinedValueRootIndex); |
for (int i = 0; i < count; i++) { |
__ push(kScratchRegister); |
} |