Revert "Revert "Add support for booting with a boot classpath not fully AOTed.""

This reverts commit 14bfeddf2e434954f0ca36687ac0fc5dc6412bd3.

Reason for revert: Removes obsolete DCHECK
Bug: 119800099

Change-Id: Ia984f95300c6b96165f0179bfc2f66b012bf5dbe
diff --git a/runtime/jit/jit.h b/runtime/jit/jit.h
index 714db3a..f709de3 100644
--- a/runtime/jit/jit.h
+++ b/runtime/jit/jit.h
@@ -303,6 +303,10 @@
   // Adjust state after forking.
   void PostZygoteFork();
 
+  // In case the boot classpath is not fully AOTed, add methods from the boot profile to the
+  // compilation queue.
+  void AddNonAotBootMethodsToQueue(Thread* self);
+
  private:
   Jit(JitCodeCache* code_cache, JitOptions* options);