commit | 6e60cfd6d35ee7dbe68cee1ff2198d3b421ab686 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Thu Jan 16 10:36:10 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jan 16 10:36:10 2014 +0000 |
tree | a5692e0abe2c975e90018abac27526e04ded04ff | |
parent | 00e7f2e935d98f0eb14f5ef1d376604d0054bf5e [diff] | |
parent | a3058e7761c8fbe185f329f473c6ef9e01d681d7 [diff] |
Merge "Fix memory error when dumping timings."
diff --git a/compiler/dex/pass_driver.cc b/compiler/dex/pass_driver.cc index b20d728..99541ac 100644 --- a/compiler/dex/pass_driver.cc +++ b/compiler/dex/pass_driver.cc
@@ -161,9 +161,7 @@ // Do we perform a time split if (time_split == true) { - std::string name = "MIROpt:"; - name += curPass->GetName(); - c_unit->NewTimingSplit(name.c_str()); + c_unit->NewTimingSplit(curPass->GetName()); } // Check the pass gate first.