diff options
author | 2020-11-12 14:12:52 +0000 | |
---|---|---|
committer | 2020-11-12 16:33:50 +0000 | |
commit | fe270426c8a2a69a8f669339e83b86fbf40e25a1 (patch) | |
tree | c048fdec8e37cefb7238218a087709c01d5d3923 /libartbase/base/hash_map.h | |
parent | e17530a19a717879c8dd8e70073de6aaf4ee455f (diff) |
Revert "Partial LSE analysis & store removal"
This reverts commit bb6cda60e4418c0ab557ea4090e046bed8206763.
Bug: 67037140
Reason for revert: memory leak detected in the test.
Change-Id: I81cc2f61494e96964d8be40389eddcd7c66c9266
Diffstat (limited to 'libartbase/base/hash_map.h')
-rw-r--r-- | libartbase/base/hash_map.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libartbase/base/hash_map.h b/libartbase/base/hash_map.h index 32c232a1b2..7d018921f0 100644 --- a/libartbase/base/hash_map.h +++ b/libartbase/base/hash_map.h @@ -81,13 +81,6 @@ class HashMap : public HashSet<std::pair<Key, Value>, HashMap() : Base() { } explicit HashMap(const Alloc& alloc) : Base(alloc) { } - - // Used to insert a new mapping. - typename Base::iterator Overwrite(const Key& k, const Value& v) { - auto res = Base::insert({ k, v }).first; - *res = { k, v }; - return res; - } }; } // namespace art |