diff options
author | Andreas Gampe <agampe@google.com> | 2015-03-27 23:45:15 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-03-27 23:46:09 -0700 |
commit | 4585f876eb5dfb936bd0d6cb6acd78a1f2182ba6 (patch) | |
tree | e9dfed086f56245e74862caa813c708bc4f500f9 /runtime/mirror | |
parent | e2c29f4a2717923f190c944a06e02f7d8c3ddcb6 (diff) | |
download | art-4585f876eb5dfb936bd0d6cb6acd78a1f2182ba6.tar.gz art-4585f876eb5dfb936bd0d6cb6acd78a1f2182ba6.tar.bz2 art-4585f876eb5dfb936bd0d6cb6acd78a1f2182ba6.zip |
ART: Some runtime cleanup
Use an enum for the compiler-callback mode.
Refactor and remove some unnecessary includes in runtime.h.
Change-Id: If2245fa470171311b8e05b677cf6bb28f209585a
Diffstat (limited to 'runtime/mirror')
-rw-r--r-- | runtime/mirror/art_field.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mirror/art_field.cc b/runtime/mirror/art_field.cc index 5d543a178..4c3675372 100644 --- a/runtime/mirror/art_field.cc +++ b/runtime/mirror/art_field.cc @@ -45,7 +45,7 @@ void ArtField::ResetClass() { void ArtField::SetOffset(MemberOffset num_bytes) { DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); if (kIsDebugBuild && Runtime::Current()->IsAotCompiler() && - Runtime::Current()->GetCompilerCallbacks()->IsBootImage()) { + Runtime::Current()->IsCompilingBootImage()) { Primitive::Type type = GetTypeAsPrimitiveType(); if (type == Primitive::kPrimDouble || type == Primitive::kPrimLong) { DCHECK_ALIGNED(num_bytes.Uint32Value(), 8); |