Fix JIT options with late init
Previously we couldn't create the JIT since we didn't have any
JITOptions.
Bug: 19735273
Change-Id: I24b8ed131ed8b18f75ec94291e135d8a1c089ebd
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 3cf22bf..7f33547 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -540,6 +540,7 @@
return zygote_max_failed_boots_;
}
+ // Create the JIT and instrumentation and code cache.
void CreateJit();
ArenaPool* GetArenaPool() {
@@ -549,6 +550,10 @@
return arena_pool_.get();
}
+ jit::JitOptions* GetJITOptions() {
+ return jit_options_.get();
+ }
+
private:
static void InitPlatformSignalHandlers();