DescriptionOnly treat lookup-slot-calls going through 'with' special
This replaces LOOKUP_SLOT_CALL with WITH_CALL, and relies on regular lookup-slot handling in variable load to support other lookup slots (variables resolved in the context of sloppy eval). This allows optimizations for such variable loads to kick in for calls as well. We only need special handling for function calls in the context of with, since it changes the receiver of the call from undefined/global to the with-object.
This currently doesn't yet make it work for the direct eval call itself, since the POSSIBLY_EVAL_CALL flag is also used to deal with direct eval later.
BUG=
Committed: https://crrev.com/733af7eb1af0a57f261c7bef9c38a08afb9b64c8
Cr-Commit-Position: refs/heads/master@{#40962}
Patch Set 1 #Patch Set 2 : Rebaseline expectations #
Total comments: 1
Patch Set 3 : add comment #Patch Set 4 : rebase #Patch Set 5 : rebaseline expectations #
Messages
Total messages: 20 (11 generated)
|