commit | 8042c37f15940479d9d89a97646555a01161a334 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Tue Mar 26 06:23:19 2019 -0700 |
committer | Greg Kaiser <gkaiser@google.com> | Tue Mar 26 09:28:16 2019 -0700 |
tree | 5b153c59044f78b26879b59c4862b23fba310ced | |
parent | c10e80f5eaf6cf72581c2706405b1f286d2050b0 [diff] |
dexopt: Avoid a couple std::string copies There are a couple places where we're taking a std::string and then passing the result of c_str() to function taking a const std::string reference. This inefficiently creates a temporary object. We change these to directly pass the std::string. Test: TreeHugger Change-Id: Ied6f13e5e2b7b71c992d325ce285fd829bdb7ee9