-
Seth Brenith authored
This is a reland of commit c8848cf4 This change was reverted due to a problem in a preceding change. This relanded version differs in its implementations of the CompilationCacheScript member functions Lookup, Put, and Age, because the intent is to not change any behavior. Original change's description: > CompilationSubCache has some complexity regarding generations of tables > which is only used by one subclass, CompilationCacheRegExp. This change > adjusts the class hierarchy so that classes only contain the necessary > member functions. > > Bug: v8:12808 > Change-Id: I4f4cf15bbf9b80c2de0c18aea82a0c238804759d > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3629603 > Reviewed-by: Leszek Swirski <leszeks@chromium.org> > Commit-Queue: Seth Brenith <seth.brenith@microsoft.com> > Cr-Commit-Position: refs/heads/main@{#80506} Bug: v8:12808 Change-Id: Ib0621b7de8da86a89752c66907f6a56adff9075d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3665936Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Seth Brenith <seth.brenith@microsoft.com> Cr-Commit-Position: refs/heads/main@{#80825}
9e240773