diff options
author | Calin Juravle <calin@google.com> | 2014-04-02 15:41:43 +0100 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2014-04-02 15:41:43 +0100 |
commit | ea1e520e5a4b52b668ea2f9d3abdd9ae3a192186 (patch) | |
tree | 39141aaf44c41aa116c56ee6fd49fe87c4e08305 /compiler/driver/compiler_driver.cc | |
parent | 70f9ebf7ca95f9d4ab4818849e4fa825b545e192 (diff) | |
download | art-ea1e520e5a4b52b668ea2f9d3abdd9ae3a192186.zip art-ea1e520e5a4b52b668ea2f9d3abdd9ae3a192186.tar.gz art-ea1e520e5a4b52b668ea2f9d3abdd9ae3a192186.tar.bz2 |
Fixed total method count in profile file parsing.
Change-Id: Iae38b3ca296378d17f054ac330301035ec684084
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-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 59754d5..4f98ba4 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -2050,7 +2050,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 / |