summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
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 c367260a90..c10dd84226 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 /