Description[builtins] Migrate Object.keys to CodeStubAssembler builtin.
Migrate the Object.keys builtin to the CodeStubAssembler and
use the enum cache backing store whenever it is available. This
gives a nice speedup of 1.5x to 2x when using Object.keys on fast-mode
objects that have (or can have) an enum cache.
R=cbruni@chromium.org
BUG=v8:5269, v8:6405
Review-Url: https://codereview.chromium.org/2853393002
Cr-Commit-Position: refs/heads/master@{#45361}
Committed: https://chromium.googlesource.com/v8/v8/+/c8c758053b7326023458c8cc2bcbd8b3bd95b904
Patch Set 1 #Patch Set 2 : Make debug build happy. #Patch Set 3 : Properly handle the empty case. #
Total comments: 2
Patch Set 4 : Address feedback. #Patch Set 5 : Remove trimming of enum caches. #Patch Set 6 : Don't change the enum cache map. #Patch Set 7 : Really fix the test, meh. #
Messages
Total messages: 45 (37 generated)
|