diff options
author | Douglas Leung <douglas.leung@imgtec.com> | 2015-07-02 16:42:08 -0700 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2015-07-03 17:29:27 +0100 |
commit | ccbbda2b716bcc0dd9ad7b6c7bf9079efa3fca23 (patch) | |
tree | 52b01bc48dadce390c2e4ceffacdc16f674d3dd0 /runtime/runtime.cc | |
parent | 3abd437507f8ba30a238a52c273c9944dcb9d5a1 (diff) | |
download | android_art-ccbbda2b716bcc0dd9ad7b6c7bf9079efa3fca23.tar.gz android_art-ccbbda2b716bcc0dd9ad7b6c7bf9079efa3fca23.tar.bz2 android_art-ccbbda2b716bcc0dd9ad7b6c7bf9079efa3fca23.zip |
Add implicit null pointer and stack overflow checks for Mips.
(cherry picked from commit 22bb5a2ebc1e2724179faf4660b2735dcb185f21)
Bug: 21555893
Change-Id: I2a995be128a5603d08753c14956dd8c8240ac63c
Diffstat (limited to 'runtime/runtime.cc')
-rw-r--r-- | runtime/runtime.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc index 6c55129847..1453e9f367 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -921,6 +921,8 @@ bool Runtime::Init(const RuntimeOptions& raw_options, bool ignore_unrecognized) case kX86: case kArm64: case kX86_64: + case kMips: + case kMips64: implicit_null_checks_ = true; // Installing stack protection does not play well with valgrind. implicit_so_checks_ = (RUNNING_ON_VALGRIND == 0); |