Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 15958ccf54561149055489f32188e1530473fb81..6142f3a846cdf0b25350742e03031af659750491 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -2913,7 +2913,8 @@ void FullCodeGenerator::EmitCallWithLoadIC(Call* expr) { |
} |
// Push undefined as receiver. This is patched in the method prologue if it |
// is a sloppy mode method. |
- __ Push(isolate()->factory()->undefined_value()); |
+ __ LoadRoot(ip, Heap::kUndefinedValueRootIndex); |
+ __ push(ip); |
} else { |
// Load the function from the receiver. |
DCHECK(callee->IsProperty()); |