Index: src/arm/cfg-arm.cc |
=================================================================== |
--- src/arm/cfg-arm.cc (revision 2701) |
+++ src/arm/cfg-arm.cc (working copy) |
@@ -67,7 +67,7 @@ |
__ add(fp, sp, Operand(2 * kPointerSize)); |
int count = CfgGlobals::current()->fun()->scope()->num_stack_slots(); |
if (count > 0) { |
- __ LoadRoot(ip, Heap::kUndefinedValueRootIndex); |
+ __ mov(ip, Operand(Factory::undefined_value())); |
for (int i = 0; i < count; i++) { |
__ push(ip); |
} |