diff options
Diffstat (limited to 'runtime/debug_print.cc')
-rw-r--r-- | runtime/debug_print.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/debug_print.cc b/runtime/debug_print.cc index c5bb4d57e6..cb334b569f 100644 --- a/runtime/debug_print.cc +++ b/runtime/debug_print.cc @@ -37,7 +37,7 @@ std::string DescribeSpace(ObjPtr<mirror::Class> klass) { std::ostringstream oss; gc::Heap* heap = Runtime::Current()->GetHeap(); gc::space::ContinuousSpace* cs = - heap->FindContinuousSpaceFromObject(klass.Ptr(), /* fail_ok */ true); + heap->FindContinuousSpaceFromObject(klass, /* fail_ok */ true); if (cs != nullptr) { if (cs->IsImageSpace()) { gc::space::ImageSpace* ispace = cs->AsImageSpace(); |