• Jakob Kummerow's avatar
    More LookupIterator fixes after r65078 · 3ac7a3e5
    Jakob Kummerow authored
    (1) One more place in ic.cc must guard against "lookup->name()" calls
    when the LookupIterator might be in indexed mode.
    
    (2) Rather than burdening LookupIterator users with specifying
    "kGuaranteedNoTypedArray", we can do the corresponding calculation in
    the LookupIterator itself, which makes it robust towards any callers
    that haven't been updated (specifically, in Object.values).
    
    Bug: chromium:1027461,chromium:1028213
    Change-Id: I76b5d08e309fc2a694955b537adbeb5a30e681f7
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1936474Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65177}
    3ac7a3e5
lookup-inl.h 8.91 KB