diff options
Diffstat (limited to 'runtime/jit/jit_code_cache.cc')
-rw-r--r-- | runtime/jit/jit_code_cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jit/jit_code_cache.cc b/runtime/jit/jit_code_cache.cc index 2b83eff44f..1b7cf7d76c 100644 --- a/runtime/jit/jit_code_cache.cc +++ b/runtime/jit/jit_code_cache.cc @@ -397,7 +397,7 @@ static void DCheckRootsAreValid(const std::vector<Handle<mirror::Object>>& roots } // Ensure that we don't put movable objects in the shared region. if (is_shared_region) { - CHECK(!Runtime::Current()->GetHeap()->IsMovableObject(object.Get())); + CHECK(Runtime::Current()->GetHeap()->IsNonMovable(object.Get())); } } } |