diff options
author | 2018-08-10 10:24:01 +0000 | |
---|---|---|
committer | 2018-08-10 10:24:01 +0000 | |
commit | 971a80e5aa36955d9fee6b479a5cbd554f50ca08 (patch) | |
tree | a30f7befba047b9dc4e73b46a7d469798f6c3037 /compiler | |
parent | c5a319ca5f4c136770fa5c8931d9ee7f48bc6a0f (diff) | |
parent | d1606417eac35d4842f607b63eda48e868e8db1d (diff) |
Merge "Cleanup BitMemoryReader/Writer api."
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/optimizing/stack_map_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/stack_map_test.cc b/compiler/optimizing/stack_map_test.cc index a281bb30f4..d28f09fbba 100644 --- a/compiler/optimizing/stack_map_test.cc +++ b/compiler/optimizing/stack_map_test.cc @@ -750,9 +750,9 @@ TEST(StackMapTest, TestDedupeBitTables) { ScopedArenaVector<uint8_t> memory = stream.Encode(); std::vector<uint8_t> out; - CodeInfo::DedupeMap dedupe_map; - size_t deduped1 = CodeInfo::Dedupe(&out, memory.data(), &dedupe_map); - size_t deduped2 = CodeInfo::Dedupe(&out, memory.data(), &dedupe_map); + CodeInfo::Deduper deduper(&out); + size_t deduped1 = deduper.Dedupe(memory.data()); + size_t deduped2 = deduper.Dedupe(memory.data()); for (size_t deduped : { deduped1, deduped2 }) { CodeInfo code_info(out.data() + deduped); |