Index: src/mips64/full-codegen-mips64.cc |
diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc |
index 5082a066dbe923bde2ea315c1bb5544fa7b9e929..1eadb77db6ed5258b679e3e62e877ee7fec0e57d 100644 |
--- a/src/mips64/full-codegen-mips64.cc |
+++ b/src/mips64/full-codegen-mips64.cc |
@@ -2896,7 +2896,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()); |