commit | 9fc16eb43fe938f0cddb13638bd7cbc2ea9534a2 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Wed Jul 31 14:49:16 2013 -0700 |
committer | Ian Rogers <irogers@google.com> | Wed Jul 31 14:52:50 2013 -0700 |
tree | 42be6682a5c6540c944a37c62f82c5635ab9e81e | |
parent | 0418ae2bdd996b64f733b1290080e3f98a05609f [diff] [blame] |
Don't add barriers to clinit methods. Change-Id: I13e6c008feb8c19e452d6e2f88b2bbbcac997de5
diff --git a/compiler/driver/dex_compilation_unit.h b/compiler/driver/dex_compilation_unit.h index 5bf0086..465139b 100644 --- a/compiler/driver/dex_compilation_unit.h +++ b/compiler/driver/dex_compilation_unit.h
@@ -80,6 +80,10 @@ return access_flags_; } + bool IsConstructor() const { + return ((access_flags_ & kAccConstructor) != 0); + } + bool IsNative() const { return ((access_flags_ & kAccNative) != 0); }