Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 2ef8d6ffcb6914a7e6f01f811fe0eb1bbcdf0061..26983d6e10fffc9f6c985bd9f100ce11ccfc123d 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -2661,9 +2661,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); |