| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index 10465745f46187164f462e8ed94a900ff8613f9c..9a751a0952ec115d9147ebc63a3c429601ce08f6 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -2667,9 +2667,7 @@ Node* AstGraphBuilder::BuildPatchReceiverToGlobalProxy(Node* receiver) {
|
| // 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 is never used. Note
|
| - // that scope predicates are purely syntactical, a call to eval might still
|
| - // inspect the receiver value.
|
| + // There is no need to perform patching if the receiver will never be used.
|
| if (!info()->MayUseThis()) return receiver;
|
|
|
| IfBuilder receiver_check(this);
|
|
|