Description[Interpreter] Allocate registers used as call arguments on-demand.
Allocate the registers used as arguments to a call on-demand after visiting the
argument (or reciever). This means that the visited expression can use registers
that would otherwise have been allocated for arguments which haven't been
visited yet.
The reason for doing this is to avoid keeping things live in registers
unecessarily for chained function calls, which avoids a memory leak for
functions which chain a large number of calls with large temporary arguments /
recievers.
BUG=chromium:672027
Review-Url: https://codereview.chromium.org/2557173004
Cr-Commit-Position: refs/heads/master@{#41714}
Committed: https://chromium.googlesource.com/v8/v8/+/ae741d042c834d2296769e04c27d6b2d4f6e469b
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebase #Patch Set 3 : Add comment #Patch Set 4 : Add back tests #Patch Set 5 : Fix release build unused variable #Messages
Total messages: 22 (16 generated)
|