summaryrefslogtreecommitdiffstats
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2014-04-02 15:17:21 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-04-02 15:17:21 +0000
commit161f71ab4449047157ad3d967a3ed4f7c6e17249 (patch)
tree192c4a9476e3b5bc607806e52d6d4922cfd0a4c3 /compiler/driver/compiler_driver.cc
parent77384601e096660ed8725b3a5bcc2327d34c1b21 (diff)
parentea1e520e5a4b52b668ea2f9d3abdd9ae3a192186 (diff)
downloadart-161f71ab4449047157ad3d967a3ed4f7c6e17249.zip
art-161f71ab4449047157ad3d967a3ed4f7c6e17249.tar.gz
art-161f71ab4449047157ad3d967a3ed4f7c6e17249.tar.bz2
Merge "Fixed total method count in profile file parsing."
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r--compiler/driver/compiler_driver.cc2
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 /