diff options
author | Mathieu Chartier <mathieuc@google.com> | 2013-12-19 15:46:55 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2013-12-19 15:59:35 -0800 |
commit | cd2cfff09c916c9e72a7cfeb0686b441847dc62e (patch) | |
tree | 8a5f6d4ecbe0df81178c0e560cd9426bd104e91e /runtime/indirect_reference_table.cc | |
parent | 0a9c5fdc671616dbe5c2b2b2f88fa0ad7c65876c (diff) | |
download | art-cd2cfff09c916c9e72a7cfeb0686b441847dc62e.zip art-cd2cfff09c916c9e72a7cfeb0686b441847dc62e.tar.gz art-cd2cfff09c916c9e72a7cfeb0686b441847dc62e.tar.bz2 |
Change IndirectReferenceTable::Add null DCHECK to CHECK.
Change-Id: I7d3582bd5ef75c7fef6a94c0e4f1fea38fc8b526
Diffstat (limited to 'runtime/indirect_reference_table.cc')
-rw-r--r-- | runtime/indirect_reference_table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/indirect_reference_table.cc b/runtime/indirect_reference_table.cc index 2bd8353..8194a0d 100644 --- a/runtime/indirect_reference_table.cc +++ b/runtime/indirect_reference_table.cc @@ -80,7 +80,7 @@ IndirectRef IndirectReferenceTable::Add(uint32_t cookie, mirror::Object* obj) { prevState.all = cookie; size_t topIndex = segment_state_.parts.topIndex; - DCHECK(obj != NULL); + CHECK(obj != NULL); // TODO: stronger sanity check on the object (such as in heap) DCHECK_ALIGNED(reinterpret_cast<uintptr_t>(obj), 8); DCHECK(table_ != NULL); |