summaryrefslogtreecommitdiffstats
path: root/compiler/driver
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-10-17 04:37:54 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-10-17 04:37:55 +0000
commit0b5d8511993145a9eeb978172944704dc621dbe9 (patch)
tree035c08bc2c3979d436f56b8e32840e583d84796d /compiler/driver
parentdddb8d891adad3f55308a725658134b6c9f5559b (diff)
parentd4c4d953035d4418126d36517e402f411d6a87f3 (diff)
downloadart-0b5d8511993145a9eeb978172944704dc621dbe9.zip
art-0b5d8511993145a9eeb978172944704dc621dbe9.tar.gz
art-0b5d8511993145a9eeb978172944704dc621dbe9.tar.bz2
Merge "Some code clean-up."
Diffstat (limited to 'compiler/driver')
-rw-r--r--compiler/driver/compiler_driver.cc2
-rw-r--r--compiler/driver/compiler_driver.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index 649c250..e1b5984 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -332,7 +332,7 @@ CompilerDriver::CompilerDriver(const CompilerOptions* compiler_options,
const InstructionSetFeatures* instruction_set_features,
bool image, std::set<std::string>* image_classes, size_t thread_count,
bool dump_stats, bool dump_passes, CumulativeLogger* timer,
- std::string profile_file)
+ const std::string& profile_file)
: profile_present_(false), compiler_options_(compiler_options),
verification_results_(verification_results),
method_inliner_map_(method_inliner_map),
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index d55f4cc..3d59ef1 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -91,7 +91,7 @@ class CompilerDriver {
const InstructionSetFeatures* instruction_set_features,
bool image, std::set<std::string>* image_classes,
size_t thread_count, bool dump_stats, bool dump_passes,
- CumulativeLogger* timer, std::string profile_file = "");
+ CumulativeLogger* timer, const std::string& profile_file);
~CompilerDriver();