diff options
Diffstat (limited to 'runtime/mirror/art_field.cc')
-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 3cea4a1b9b..5d543a178c 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()->UseCompileTimeClassPath()) { + Runtime::Current()->GetCompilerCallbacks()->IsBootImage()) { Primitive::Type type = GetTypeAsPrimitiveType(); if (type == Primitive::kPrimDouble || type == Primitive::kPrimLong) { DCHECK_ALIGNED(num_bytes.Uint32Value(), 8); |