summaryrefslogtreecommitdiff
path: root/compiler/optimizing/intrinsic_objects.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing/intrinsic_objects.cc')
-rw-r--r--compiler/optimizing/intrinsic_objects.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/intrinsic_objects.cc b/compiler/optimizing/intrinsic_objects.cc
index d9f54429e2..d7042d22c8 100644
--- a/compiler/optimizing/intrinsic_objects.cc
+++ b/compiler/optimizing/intrinsic_objects.cc
@@ -20,6 +20,7 @@
#include "base/casts.h"
#include "base/logging.h"
#include "image.h"
+#include "intrinsics.h"
#include "obj_ptr-inl.h"
#include "well_known_classes.h"
@@ -36,6 +37,7 @@ ObjPtr<mirror::ObjectArray<mirror::Object>> IntrinsicObjects::LookupIntegerCache
ObjPtr<mirror::ObjectArray<mirror::Object>>::DownCast(
cache_field->GetObject(integer_cache_class));
CHECK(integer_cache != nullptr);
+ DCHECK(IntrinsicVisitor::CheckIntegerCacheFields(integer_cache));
return integer_cache;
}