diff options
| author | 2017-06-02 18:25:50 +0000 | |
|---|---|---|
| committer | 2017-06-02 18:25:52 +0000 | |
| commit | f8637044aa22de46f5c2a7148355bbef9a2bfdbe (patch) | |
| tree | d60797cc74c7a96aa2a405a16bbb69b3078633a2 /compiler/driver/compiler_driver_test.cc | |
| parent | a4c90b90f8a819c5b883a8e0d4ea7d5ad835f58a (diff) | |
| parent | ea650f3bc4f54eb2c647cf0f7134398ef5038792 (diff) | |
Merge "Move profiles to use bitmaps for startup methods"
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
| -rw-r--r-- | compiler/driver/compiler_driver_test.cc | 10 | 
1 files changed, 8 insertions, 2 deletions
| diff --git a/compiler/driver/compiler_driver_test.cc b/compiler/driver/compiler_driver_test.cc index 26ea39f205..4b979d8125 100644 --- a/compiler/driver/compiler_driver_test.cc +++ b/compiler/driver/compiler_driver_test.cc @@ -239,8 +239,14 @@ class CompilerDriverProfileTest : public CompilerDriverTest {      ProfileCompilationInfo info;      for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { -      profile_info_.AddMethodIndex(dex_file->GetLocation(), dex_file->GetLocationChecksum(), 1); -      profile_info_.AddMethodIndex(dex_file->GetLocation(), dex_file->GetLocationChecksum(), 2); +      profile_info_.AddMethodIndex(dex_file->GetLocation(), +                                   dex_file->GetLocationChecksum(), +                                   1, +                                   dex_file->NumMethodIds()); +      profile_info_.AddMethodIndex(dex_file->GetLocation(), +                                   dex_file->GetLocationChecksum(), +                                   2, +                                   dex_file->NumMethodIds());      }      return &profile_info_;    } |