| Index: src/mips/full-codegen-mips.cc
|
| diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
|
| index 69ab5e4d600afeed2c0d2807e7422d6b949e1eb7..153d9cf199546491f3f6cc23e44f0e80684b90da 100644
|
| --- a/src/mips/full-codegen-mips.cc
|
| +++ b/src/mips/full-codegen-mips.cc
|
| @@ -2895,7 +2895,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(at, Heap::kUndefinedValueRootIndex);
|
| + __ push(at);
|
| } else {
|
| // Load the function from the receiver.
|
| DCHECK(callee->IsProperty());
|
|
|