Introduce -Xint flag for ART.
Change-Id: I0f7d8c0b0f33e77ca2d3fbf05b7a16fedb86a545
diff --git a/src/runtime.h b/src/runtime.h
index d2238ae..79c0592 100644
--- a/src/runtime.h
+++ b/src/runtime.h
@@ -76,6 +76,7 @@
std::string jni_trace_;
bool is_compiler_;
bool is_zygote_;
+ bool interpreter_only_;
bool is_concurrent_gc_enabled_;
size_t heap_initial_size_;
size_t heap_maximum_size_;
@@ -112,6 +113,10 @@
return is_zygote_;
}
+ bool InterpreterOnly() const {
+ return interpreter_only_;
+ }
+
bool IsConcurrentGcEnabled() const {
return is_concurrent_gc_enabled_;
}
@@ -377,6 +382,7 @@
bool is_compiler_;
bool is_zygote_;
+ bool interpreter_only_;
bool is_concurrent_gc_enabled_;
// The host prefix is used during cross compilation. It is removed