| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 2abde16a40b3a2e3efe092081cbcc82cafa139c7..e5adc8066f56fa6c3b9a50166a19107409c0d570 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -143,7 +143,7 @@ bool LCodeGen::GeneratePrologue() {
|
| // Sloppy mode functions and builtins need to replace the receiver with the
|
| // global proxy when called as functions (without an explicit receiver
|
| // object).
|
| - if (graph()->this_has_uses() && is_sloppy(info_->language_mode()) &&
|
| + if (is_sloppy(info_->language_mode()) && info()->MayUseThis() &&
|
| !info_->is_native()) {
|
| Label ok;
|
| int receiver_offset = info_->scope()->num_parameters() * kPointerSize;
|
|
|