diff options
author | Jeff Hao <jeffhao@google.com> | 2014-04-01 14:58:49 -0700 |
---|---|---|
committer | Jeff Hao <jeffhao@google.com> | 2014-04-02 17:18:13 -0700 |
commit | 4a200f56b7075309316b04d550c9cc50f8314edd (patch) | |
tree | 0c01f484239203eeeb9f8e5f97300bca09b051ad /runtime/runtime.cc | |
parent | d0ab1223cc8c5181e502196a7765790ad2aba3c8 (diff) | |
download | art-4a200f56b7075309316b04d550c9cc50f8314edd.zip art-4a200f56b7075309316b04d550c9cc50f8314edd.tar.gz art-4a200f56b7075309316b04d550c9cc50f8314edd.tar.bz2 |
Add support for -Xverify:none mode.
This mode skips all verification and compilation.
Public bug: https://code.google.com/p/android/issues/detail?id=67664
Change-Id: Idd00ab8e9e46d129c02988b063c41a507e07bf5b
Diffstat (limited to 'runtime/runtime.cc')
-rw-r--r-- | runtime/runtime.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc index b0a6584..1b3c996 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -132,7 +132,8 @@ Runtime::Runtime() preinitialization_transaction_(nullptr), null_pointer_handler_(nullptr), suspend_handler_(nullptr), - stack_overflow_handler_(nullptr) { + stack_overflow_handler_(nullptr), + verify_(false) { for (int i = 0; i < Runtime::kLastCalleeSaveType; i++) { callee_save_methods_[i] = nullptr; } @@ -521,6 +522,7 @@ bool Runtime::Init(const Options& raw_options, bool ignore_unrecognized) { thread_list_ = new ThreadList; intern_table_ = new InternTable; + verify_ = options->verify_; if (options->interpreter_only_) { GetInstrumentation()->ForceInterpretOnly(); |