>Looking at it naively, it seems to follow the rules for the arguments object in Crankshaft
I've never managed to find a good source on the V8 internals and how to target these optimizations (the "rules for the arguments object" the author alludes to).
Any recommendations?