Description[base] Move hashmap allocator to a field
Moves the hashmap's allocator from being a parameter in the various
hashmap functions, to being a field in the hashmap itself. This
1. Protects against incorrectly passed allocators, and
2. Cleans up the API so that e.g. callers don't have to store their
allocator
This is part of a wider set of changes discussed in:
https://groups.google.com/forum/#!topic/v8-dev/QLsC0XPYLeM
Committed: https://crrev.com/b42ecda533bd53ddc17f55e256236f23253382b8
Cr-Commit-Position: refs/heads/master@{#39538}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Remove empty base class optimisation #
Total comments: 6
Patch Set 3 : Remove zone parameters where no longer needed #Patch Set 4 : Remove zone arguments where the parameters were removed so that the bloody thing compiles again #
Depends on Patchset: Messages
Total messages: 34 (18 generated)
|