summaryrefslogtreecommitdiffstats
path: root/src/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
authorAnwar Ghuloum <anwarg@google.com>2013-04-17 07:02:40 -0700
committerAnwar Ghuloum <anwarg@google.com>2013-04-17 07:02:40 -0700
commit1f55ea0d5cfea943ec11dd1be9ddb163e4e325b2 (patch)
treed9308a490b3aeb9630410618829b24d41c323abb /src/compiler/driver/compiler_driver.cc
parentcfa9cfa3a94b33d300e1b08b48b3cb72de343dbd (diff)
downloadandroid_art-1f55ea0d5cfea943ec11dd1be9ddb163e4e325b2.tar.gz
android_art-1f55ea0d5cfea943ec11dd1be9ddb163e4e325b2.tar.bz2
android_art-1f55ea0d5cfea943ec11dd1be9ddb163e4e325b2.zip
minor cleanup
Change-Id: I92dda15aaa2626821befcb9a5db3801b0ab074e5
Diffstat (limited to 'src/compiler/driver/compiler_driver.cc')
-rw-r--r--src/compiler/driver/compiler_driver.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/driver/compiler_driver.cc b/src/compiler/driver/compiler_driver.cc
index 9595ad9019..d464b420e0 100644
--- a/src/compiler/driver/compiler_driver.cc
+++ b/src/compiler/driver/compiler_driver.cc
@@ -1613,12 +1613,11 @@ void CompilerDriver::CompileMethod(const DexFile::CodeItem* code_item, uint32_t
CHECK(compiled_method != NULL);
} else if ((access_flags & kAccAbstract) != 0) {
} else {
- std::string method_name(PrettyMethod(method_idx, dex_file, false));
// In light mode we only compile image classes.
bool dont_compile = light_mode_ && ((image_classes_ == NULL) || (image_classes_->size() == 0));
// Don't compile class initializers, ever.
- if ((access_flags & kAccConstructor) && (access_flags & kAccStatic)) {
+ if (((access_flags & kAccConstructor) != 0) && ((access_flags & kAccStatic) != 0)) {
dont_compile = true;
}