diff options
author | Calin Juravle <calin@google.com> | 2014-04-02 15:17:21 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-04-02 15:17:21 +0000 |
commit | 161f71ab4449047157ad3d967a3ed4f7c6e17249 (patch) | |
tree | 192c4a9476e3b5bc607806e52d6d4922cfd0a4c3 | |
parent | 77384601e096660ed8725b3a5bcc2327d34c1b21 (diff) | |
parent | ea1e520e5a4b52b668ea2f9d3abdd9ae3a192186 (diff) | |
download | art-161f71ab4449047157ad3d967a3ed4f7c6e17249.zip art-161f71ab4449047157ad3d967a3ed4f7c6e17249.tar.gz art-161f71ab4449047157ad3d967a3ed4f7c6e17249.tar.bz2 |
Merge "Fixed total method count in profile file parsing."
-rw-r--r-- | compiler/driver/compiler_driver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index c367260..c10dd84 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -2052,7 +2052,7 @@ bool CompilerDriver::ReadProfile(const std::string& filename) { // This is the number of hits in all methods. uint32_t total_count = 0; for (int i = 0 ; i < 3; ++i) { - total_count += atoi(summary_info[0].c_str()); + total_count += atoi(summary_info[i].c_str()); } // Now read each line until the end of file. Each line consists of 3 fields separated by / |