| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index 26983d6e10fffc9f6c985bd9f100ce11ccfc123d..2ef8d6ffcb6914a7e6f01f811fe0eb1bbcdf0061 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -2661,7 +2661,9 @@
|
| // object). Otherwise there is nothing left to do here.
|
| if (is_strict(language_mode()) || info()->is_native()) return receiver;
|
|
|
| - // There is no need to perform patching if the receiver will never be used.
|
| + // There is no need to perform patching if the receiver is never used. Note
|
| + // that scope predicates are purely syntactical, a call to eval might still
|
| + // inspect the receiver value.
|
| if (!info()->MayUseThis()) return receiver;
|
|
|
| IfBuilder receiver_check(this);
|
|
|