summaryrefslogtreecommitdiffstats
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-03-08 23:37:07 +0000
committerIan Rogers <irogers@google.com>2014-03-08 23:37:07 +0000
commita03de6dbabbe857deae5b0f1e388fbd3a2420dc2 (patch)
tree2828105f52e2830842d4d62477bd1a613ae6b93f /compiler/driver/compiler_driver.h
parentd54f3a6219bca6ae018f4395fa0f1254bd4459be (diff)
downloadart-a03de6dbabbe857deae5b0f1e388fbd3a2420dc2.zip
art-a03de6dbabbe857deae5b0f1e388fbd3a2420dc2.tar.gz
art-a03de6dbabbe857deae5b0f1e388fbd3a2420dc2.tar.bz2
Revert "Revert "Make clang the default compiler on host.""
This reverts commit d54f3a6219bca6ae018f4395fa0f1254bd4459be. Change-Id: Id96bb52a0d599f8848010d1589bdf0f70fc7124b
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index 12463a9..817da17 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -564,8 +564,11 @@ class CompilerDriver {
class ProfileData {
public:
ProfileData() : count_(0), method_size_(0), percent_(0) {}
- ProfileData(std::string method_name, uint32_t count, uint32_t method_size, double percent) :
+ ProfileData(const std::string& method_name, uint32_t count, uint32_t method_size, double percent) :
method_name_(method_name), count_(count), method_size_(method_size), percent_(percent) {
+ // TODO: currently method_size_ and count_ are unused.
+ UNUSED(method_size_);
+ UNUSED(count_);
}
bool IsAbove(double v) const { return percent_ >= v; }